0.1.35 • Published 2 years ago
crm-service v0.1.35
cmp-service
A Vue 2 / Webpack 5 service.
By CRM FE Team.
Architecture
Default as below, You may change the src dir via crm.config.js
├─ public // default template. (index.html can be set separately for each folder under src/pages)
├─ crm.config.js // service configuration.
├─ src
│ ├─ assets // assets such as images or font files.
│ ├─ components // reusable Vue components.
│ └─ pages // pages. !important
│ ├─ page1
│ │ ├─ router // routers config in each page.
│ │ ├─ store // vuex store modules.
│ │ └─ components // components
│ ├─ page2
│ │ ├─ router // routers config in each page.
│ │ ├─ store // vuex store modules.
│ │ └─ components // components
TODO
- 更多可操作参数
Commands
# get package from npm
npm i crm-service -D
# first time
npm run init
# Start development server.
npm run dev
"scripts": {
"init": "node_modules/.bin/crm-service init",
"dev": "node_modules/.bin/crm-service development"
}
# Compile production bundle.
npm run build
npm run build:uat
npm run build:staging
npm run build:prod
0.1.35
2 years ago
0.1.35-beta.1
2 years ago
0.1.34
2 years ago
0.1.33
2 years ago
0.1.31
2 years ago
0.1.32
2 years ago
0.1.30
2 years ago
0.1.30-beta.0
2 years ago
0.1.27
2 years ago
0.1.28
2 years ago
0.1.29
2 years ago
0.1.30-beta.2
2 years ago
0.1.30-beta.1
2 years ago
0.1.25
2 years ago
0.1.26
2 years ago
0.1.22
2 years ago
0.1.23
2 years ago
0.1.24
2 years ago
0.1.20
2 years ago
0.1.21
2 years ago
0.1.19
2 years ago
0.1.18
2 years ago
0.1.13
3 years ago
0.1.14
3 years ago
0.1.15
3 years ago
0.1.16
3 years ago
0.1.17
3 years ago
0.1.11
3 years ago
0.1.12
3 years ago
0.1.10
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.9
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago