参照create-react-app的源码,去掉其中安装模块的部分。项目模板https://github.com/longtoken/lt-react-kit
通过 lt-self-cli projectName 来创建一个名字叫projectName的项目。
目前创建的项目是基于react,后续会添加其他模式跟功能。
该react项目使用了react16、react-router4、antd-mobile2、mobx4、webpack4,路由跟antd-mobile做了按需加载,css添加了autoprefixer。
启动
cd projectName
npm i / yarn install
npm start
-
Notifications
You must be signed in to change notification settings - Fork 2
longtoken/lt-self-cli
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
cli
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published