3.0.10 • Published 6 years ago
vue-entry v3.0.10
vue-entry
An entry boot for Vue2 projects. auto generate entry Object for webpack config entry option.
Installation
npm install vue-entry --save-dev
Example Webpack Config
var vueEntry = require('vue-entry');
module.exports = {
entry: vueEntry({
src: './src',
autoImportVueComponent: true
}),
}
Options and defaults (Optional)
{
"src": './src', // An relative path for the source. Default: './src'. normally include pages and components folders in it.
"autoImportVueComponent": true, // vue component import and registered to Vue globally.
"langs": ["zh_CN"], // export in .i18n.js file
"vueLibBuildIn":true, // include vue.js, vue-router.js, vue-resource.js, vue-i18n.js. if setting false, using script tag for global use manually.
"rootFontSize":16 // designer width / 10
}
Application architecture
single app in one project
src/ ├── components/ ├── page1/ │ ├── page1.i18n.js // i18n file optional │ ├── pag1.vue // page file *required │ └──page1.state.js // state file optional ├── index.html // *required ├── routes.js // optional ├── config.json // optional ├── service.js // optional └── ... └── statics/ ├── images/ └── ...
multi app in one project
src/ ├── components/ ├── apps/ │ ├── app1 │ │ ├── index.html │ │ ├── routes.js │ │ ├── config.json │ │ └── ... │ ├── app2 │ │ ├── index.html │ │ ├── routes.js │ │ ├── config.json │ │ └── ... │ └── ... └── statics/ ├── images/ └── ...
extra tools for app development
standalone config file
standalone i18n file
standalone vuex file
log method($debug and $error) for vue component object
3.0.10
6 years ago
3.0.9
6 years ago
3.0.8
6 years ago
2.1.5
6 years ago
2.1.4
6 years ago
2.1.2
6 years ago
2.1.1
6 years ago
3.0.7
6 years ago
3.0.6
6 years ago
3.0.5
6 years ago
3.0.4
6 years ago
3.0.3
6 years ago
3.0.2
6 years ago
3.0.1
6 years ago
3.0.0
6 years ago
2.1.0
6 years ago
2.0.12
6 years ago
2.0.11
6 years ago
2.0.10
6 years ago
2.0.9
6 years ago
2.0.8
6 years ago
2.0.7
6 years ago
2.0.6
6 years ago
2.0.5
6 years ago
2.0.4
6 years ago
2.0.3
7 years ago
2.0.2
7 years ago
2.0.1
7 years ago
2.0.0
7 years ago
0.0.16
7 years ago
0.0.15
7 years ago
0.0.14
7 years ago
0.0.13
7 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.10
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago