This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "cropchat", | |
"short_name": "cropchat", | |
"icons": [ | |
{ | |
"src": "/static/img/icons/cropchat-icon-64x64.png", | |
"sizes": "192x192", | |
"type": "image/png" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="manifest" href="<%= htmlWebpackPlugin.files.publicPath %>static/manifest.json"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta name="viewport" content="width=device-width, initial-scale=1"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<ul class="list"> | |
</ul> | |
</template> | |
<script> | |
export default { | |
} | |
</script> | |
<style scoped> | |
.list { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="card-image"> | |
</div> | |
</template> | |
<script> | |
export default { | |
} | |
</script> | |
<style scoped> | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="waiting"> | |
Not yet available | |
</div> | |
</template> | |
<script> | |
export default { | |
} | |
</script> | |
<style scoped> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
import Router from 'vue-router' | |
import HomeView from '@/components/HomeView' | |
import DetailView from '@/components/DetailView' | |
import PostView from '@/components/PostView' | |
Vue.use(Router) | |
export default new Router({ | |
routes: [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
require('material-design-lite') | |
... | |
</script> | |
<style> | |
@import url('https://fonts.googleapis.com/icon?family=Material+Icons'); | |
@import url('https://code.getmdl.io/1.2.1/material.blue-red.min.css'); | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header"> | |
<header class="mdl-layout__header"> | |
<div class="mdl-layout__header-row"> | |
<span class="mdl-layout-title">CropChat</span> | |
</div> | |
</header> | |
<div class="mdl-layout__drawer"> | |
<span class="mdl-layout-title">CropChat</span> | |
<nav class="mdl-navigation"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
... | |
export default { | |
name: 'app', | |
methods: { | |
hideMenu: function () { | |
document.getElementsByClassName('mdl-layout__drawer')[0].classList.remove('is-visible') | |
document.getElementsByClassName('mdl-layout__obfuscator')[0].classList.remove('is-visible') | |
} | |
} |