/tuntuntutu-tools

工程化包含的各种工具集合,通过 lerna 维护

Primary LanguageJavaScript

tuntuntutu

安装

yarn global add tuntuntutu
// or
npm install tuntuntutu -g

快速开始

新建项目
tuntu create my-app
  1. 选择终端类型(注:之后都用platform指代

    • pc端 platform: pc
    • 移动端 platform: mobile
  2. 选择项目类型(注:之后都用type指代

    • SPA type: spa
    • MPA type: mpa
    • LITE type: lite
    • SPY type: spy
  3. 创建完毕之后cd到项目路径下

cd my-app
本地开发
yarn start
// or
npm run start
发布前编译
yarn build
// or
npm run build