22 | 23 | 24 | 25 |
├── static └── .gitkeep ├── .vscode └── settings.json ├── config ├── prod.env.js ├── dev.env.js └── index.js ├── src ├── assets │ ├── logo.png │ ├── 1495982696.png │ └── sass │ │ └── _base.scss ├── App.vue ├── main.js ├── components │ ├── HeaderBar.vue │ ├── Hello.vue │ ├── FooterNav.vue │ └── HeaderTabs.vue ├── util │ └── filter.js ├── pages │ ├── index.vue │ ├── more.vue │ ├── message.vue │ ├── login.vue │ ├── publish.vue │ ├── people.vue │ ├── my.vue │ └── content.vue └── router │ └── index.js ├── .gitignore ├── .editorconfig ├── .postcssrc.js ├── .babelrc ├── index.html ├── dist ├── index.html └── static │ ├── js │ ├── manifest.1ab094a8c8da751d3a34.js │ ├── manifest.1ab094a8c8da751d3a34.js.map │ └── app.2e9f286113b04dbf66fd.js │ └── css │ └── app.5ace272005682991a49c2ea3506aa911.css ├── package.json └── README.md /static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | // 将设置放入此文件中以覆盖默认值和用户设置。 2 | { 3 | } -------------------------------------------------------------------------------- /config/prod.env.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | NODE_ENV: '"production"' 3 | } 4 | -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aermin/vue-home/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | npm-debug.log* 4 | yarn-debug.log* 5 | yarn-error.log* 6 | -------------------------------------------------------------------------------- /src/assets/1495982696.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aermin/vue-home/HEAD/src/assets/1495982696.png -------------------------------------------------------------------------------- /config/dev.env.js: -------------------------------------------------------------------------------- 1 | var merge = require('webpack-merge') 2 | var prodEnv = require('./prod.env') 3 | 4 | module.exports = merge(prodEnv, { 5 | NODE_ENV: '"development"' 6 | }) 7 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | // to edit target browsers: use "browserlist" field in package.json 6 | "autoprefixer": {} 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["env", { "modules": false }], 4 | "stage-2" 5 | ], 6 | "plugins": ["transform-runtime"], 7 | "comments": false, 8 | "env": { 9 | "test": { 10 | "presets": ["env", "stage-2"], 11 | "plugins": [ "istanbul" ] 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/assets/sass/_base.scss: -------------------------------------------------------------------------------- 1 | $gray:#808080; 2 | $class-green:#369219; 3 | @mixin border-btm { 4 | border-bottom: 0.1rem #dcdcdc solid; 5 | } 6 | 7 | @mixin wrapper { 8 | display: flex; 9 | flex-direction: column; 10 | height: 100vh; 11 | .header { 12 | position: fixed; 13 | top: 0; 14 | height: 5rem; 15 | text-align: center; 16 | } 17 | .main{ 18 | margin-top: 4rem; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 |
5 |
6 | 内容到底啦
42 |
57 | 58 |