Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

xhkj-work-flow

  • 字体为思源字体
    • SourceHanSansCN-Regular 正常字体
    • SourceHanSansCN-Medium 加粗字体
      • 代码压缩 compression-webpack-plugin
      • 配置文件 baseConfig.json 相关的基本配置数据
      • 接口工具 利用Nswage工具依据swagger.json生成
      • vue-kst-auth 封装的授权npm包
      • vue-router
      • vuex
      • element-ui
      • vue-prope

readme

产品架构

  • 字体为思源字体
    • SourceHanSansCN-Regular 正常字体
    • SourceHanSansCN-Medium 加粗字体
  • 代码压缩 compression-webpack-plugin
  • 配置文件 baseConfig.json 相关的基本配置数据
  • 接口工具 利用Nswage工具依据swagger.json生成
  • vue-kst-auth 封装的授权npm包
  • vue-router
  • vuex
  • element-ui
  • vue-property-decorator
  • axios

目录结构

|—— public
    |—— font // 字体(思源字体)
    |—— baseConfig.json // 基本配置
    |—— favicon.ico
|—— src
    |—— assets
    |—— plugins // 插件
    |—— router // 路由
    |—— store
        |—— baseData.ts // 基本数据
    |—— views
    | App.vue

安装最新vue-kst-auth包

yarn add vue-kst-auth

项目开始

yarn install

项目运行

yarn run serve

打包

yarn run build

Run your tests

yarn run test

Lints and fixes files

yarn run lint

Customize configuration

See Configuration Reference.