内部项目脚手架
- Installation Node >=12 is required for installation.
Yarn
yarn global add shock-cli
Npm
npm install shock-cli -g
Copy the template project
shock-cli create
selecte project
Copy the template page to your project's src/pages directory
shock-cli create
selecte page
Copy the template component to your project's src/components directory
shock-cli create
selecte component