1.0.8 • Published 2 years ago
caill-cli v1.0.8
this is a fast generating project template scaffold, support the vue and react, the vue integrates vite, axios, typescript, pinia, react to integrate the typescript and Ant Design
Installed
npm install caill-cli -g
Create a project
cai create others...
For example, cai create my-app
You can create a VUE or React project
Add a component
cai addcpn
for example: cai addcpn HelloWorld -d src/components
The default directory is src/Component
Add a page
cai addview
for example: cai addview Home -d src/page
- The default directory is src/views
- Generates a folder containing components and their routing configurations
Add a pinia based repository
cai addstore
for example: CAI addview Home -d src/page
The default directory is src/stores/modules
React only supports the creation of basic projects