cozy-gear

0.1.17 • Public • Published

cmp-service

A Vue 2 / Webpack 5 service.

By CRM FE Team.

Architecture

├─ public           // static assets.
├─ service          // commands and webpack configurations.
├─ src
│  ├─ assets        // assets such as images or font files.
│  ├─ components    // universal 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

  • [x] 更多可操作参数

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

Readme

Keywords

Package Sidebar

Install

npm i cozy-gear

Weekly Downloads

0

Version

0.1.17

License

none

Unpacked Size

31.6 kB

Total Files

27

Last publish

Collaborators

  • dreamboat