6 |
9 | Props Vue
7 | 8 |
10 |
12 | ├── .babelrc ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .postcssrc.js ├── README.md ├── build ├── build.js ├── check-versions.js ├── dev-client.js ├── dev-server.js ├── utils.js ├── vue-loader.conf.js ├── webpack.base.conf.js ├── webpack.dev.conf.js └── webpack.prod.conf.js ├── config ├── dev.env.js ├── index.js └── prod.env.js ├── index.html ├── package-lock.json ├── package.json ├── src ├── App.vue ├── assets │ ├── logo.png │ └── vvb.PNG ├── components │ ├── HiVvb.vue │ ├── vue │ │ ├── component │ │ │ ├── ComponentChildren.vue │ │ │ └── ComponentMain.vue │ │ ├── directives │ │ │ ├── TheDirective.vue │ │ │ ├── v-bind.vue │ │ │ ├── v-conditions.vue │ │ │ ├── v-for.vue │ │ │ ├── v-html.vue │ │ │ ├── v-model.vue │ │ │ ├── v-on.vue │ │ │ ├── v-show.vue │ │ │ └── v-text.vue │ │ ├── filter │ │ │ └── VueFilters.vue │ │ ├── mixins │ │ │ └── vMixins.vue │ │ ├── multi-select │ │ │ └── SelectFor.vue │ │ ├── prop │ │ │ ├── PropChild.vue │ │ │ ├── PropMain.vue │ │ │ └── emit │ │ │ │ ├── PropChild.vue │ │ │ │ └── PropMain.vue │ │ └── vue-jquery │ │ │ └── VueJquery.vue │ └── vuex │ │ ├── VuexGetters.vue │ │ ├── VuexMutations.vue │ │ └── VuexState.vue ├── main.js ├── mixins │ └── vueMixin.js ├── router │ └── index.js └── store │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ └── state.js └── static └── .gitkeep /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["env", { 4 | "modules": false, 5 | "targets": { 6 | "browsers": ["> 1%", "last 2 versions", "not ie <= 8"] 7 | } 8 | }], 9 | "stage-2" 10 | ], 11 | "plugins": ["transform-runtime"], 12 | "env": { 13 | "test": { 14 | "presets": ["env", "stage-2"], 15 | "plugins": ["istanbul"] 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | build/*.js 2 | config/*.js 3 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | // https://eslint.org/docs/user-guide/configuring 2 | 3 | module.exports = { 4 | root: true, 5 | parser: 'babel-eslint', 6 | parserOptions: { 7 | sourceType: 'module' 8 | }, 9 | env: { 10 | browser: true, 11 | }, 12 | // https://github.com/standard/standard/blob/master/docs/RULES-en.md 13 | extends: 'standard', 14 | // required to lint *.vue files 15 | plugins: [ 16 | 'html' 17 | ], 18 | // add your custom rules here 19 | 'rules': { 20 | // allow paren-less arrow functions 21 | 'arrow-parens': 0, 22 | // allow async-await 23 | 'generator-star-spacing': 0, 24 | // allow debugger during development 25 | 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Editor directories and files 9 | .idea 10 | .vscode 11 | *.suo 12 | *.ntvs* 13 | *.njsproj 14 | *.sln 15 | -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | // to edit target browsers: use "browserslist" field in package.json 6 | "autoprefixer": {} 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # vue-vuex-boss (VVB) 2 | VVB is a mini Vue boilerplate . 3 | 4 |
ID | 8 |Title | 9 | 10 | 11 |
---|---|
16 | {{ post.id }} 17 | | 18 |19 | {{ post.title }} 20 | | 21 |
ID | 8 |Title | 9 |Edit | 10 | 11 |
---|---|---|
16 | {{ post.id }} 17 | | 18 |19 | {{ post.title }} 20 | | 21 |22 | 23 | 24 | | 25 |
ID | 9 |Post Title | 10 |User Email | 11 |Todos | 12 |Post Title/user email/todos | 13 |Activity | 14 | 15 |
---|---|---|---|---|---|
20 | {{ info.id }} 21 | | 22 |23 | {{ info.title }} 24 | {{ info.email}} 25 | | 26 | 27 |28 | 29 | 30 | | 31 |
ID | 8 |Title | 9 | 10 | 11 | 12 |
---|---|
17 | {{ post.id }} 18 | | 19 |20 | {{ post.title }} 21 | | 22 |
Hi ,Boss ..Are you JQuery and Vue Lover
11 | 12 | 13 | 14 | 15 |ID | 10 |Title | 11 |Edit | 12 | 13 |
---|---|---|
18 | {{ user.name }} 19 | | 20 |21 | {{ user.age }} 22 | | 23 |24 | 25 | 26 | | 27 |
ID | 10 |Title | 11 |Edit | 12 | 13 |
---|---|---|
18 | {{ user.name }} 19 | | 20 |21 | {{ user.age }} 22 | | 23 |24 | 25 | 26 | | 27 |
ID | 10 |Title | 11 |Edit | 12 | 13 |
---|---|---|
18 | {{ user.name }} 19 | | 20 |21 | {{ user.age }} 22 | | 23 |24 | 25 | 26 | | 27 |