Skip to content
阿祥 edited this page Dec 17, 2017 · 1 revision

angular4-seed

angular 4+ seed project

Build Setup

# install dependencies
yarn install

# serve with hot reload at localhost:8080
npm run start

# build for production with minification
npm run build

目录结构

  1. src/app/api:后台接口定义
  2. src/app/config:应用的配置文件
  3. src/app/layout:应用的布局框架
  4. src/app/routes:路由配置、页面文件
  5. src/app/shared:应用的共享文件,如:style文件、UI组件、工具函数
  6. src/app/store:redux 相关文件
  7. src/app/template:文件、组件的模板文件
  8. src/assets:语言包、icon font、图片资源
  9. src/environments:生产、测试环境的配置文件
Clone this wiki locally