Project Structure

.
โ”œโ”€โ”€ build                   # Webpack build configuration directroy
โ”‚   โ”œโ”€โ”€ config              # development and production mode config
โ”‚   โ”‚   โ”œโ”€โ”€ index.js
โ”‚   โ”œโ”€โ”€ tpl                 # html template
โ”‚   โ”‚   โ””โ”€โ”€ index.html
โ”‚   โ””โ”€โ”€ ...
โ”œโ”€โ”€ src
โ”‚   โ”œโ”€โ”€ api                 # Backend APIs
โ”‚   โ”‚   โ”œโ”€โ”€ http.ts
โ”‚   โ”‚   โ”œโ”€โ”€ index.ts
โ”‚   โ”‚   โ””โ”€โ”€ modules         # API modules
โ”‚   โ”‚       โ””โ”€โ”€ ...
โ”‚   โ”œโ”€โ”€ assets              # module assets (processed by webpack)
โ”‚   โ”‚   โ””โ”€โ”€ svg             # svg icons source file
โ”‚   โ”‚       โ””โ”€โ”€ ...
โ”‚   โ”œโ”€โ”€ components          # components
โ”‚   โ”‚   โ”œโ”€โ”€ base.ts         # components base. Every component inherits it 
โ”‚   โ”‚   โ”œโ”€โ”€ icons           # Produced vue svg icons
โ”‚   โ”‚   โ”œโ”€โ”€ pages           # Page level components
โ”‚   โ”‚   โ”œโ”€โ”€ tags            # Global components (or customized tags)
โ”‚   โ”‚   โ””โ”€โ”€ views           # view components
โ”‚   โ”œโ”€โ”€ env                 # environment config
โ”‚   โ”œโ”€โ”€ main.ts             # entry file
โ”‚   โ”œโ”€โ”€ router              # router
โ”‚   โ”œโ”€โ”€ store               # vuex store
โ”‚   โ”‚   โ”œโ”€โ”€ modules         # vuex modules
โ”‚   โ”‚   โ””โ”€โ”€ utils           # vuex utils 
โ”‚   โ””โ”€โ”€ style               # styles
โ”œโ”€โ”€ static                  # pure static assets (directly copied)
โ”œโ”€โ”€ tools                   # Tool, such as cli tools
โ””โ”€โ”€ typings                 # Type definitions
โ”‚   โ”œโ”€โ”€ globals.d.ts        # global types
โ”‚   โ””โ”€โ”€ interface           # interface
โ”œโ”€โ”€ tsconfig.json           # typescript config
โ”œโ”€โ”€ tslint.json             # tslint config
โ”œโ”€โ”€ .editorconfig           # editor config
โ”œโ”€โ”€ .npmrc                  # npm config
โ”œโ”€โ”€ .postcssrc.js           # postcss config
โ”œโ”€โ”€ .stylelintrc.js         # stylint config

results matching ""

    No results matching ""