自己用的Web前端工程初始化工具,支持vite vue3.x/react
(eslint/prettier/typescript), webpack es6/vue2.x/react/typescript
(eslint)。
Quickly build command line interface for Web front end development environment.
Build by webpack, vue/react/typescript and babel/eslint/sass/scss
When using vite/vue3, execute the command: dev3cli init ProjectName vite
When using vite/react, execute the width command: dev3cli init ProjectName vite react
# npm
npm install -g dev3cli
# or
npm i -g dev3cli
# yarn
yarn global add dev3cli
dev3cli init project-name
dev3cli init project-name vite
dev3cli init project-name vite react
dev3cli init project-name react
# use typescript
dev3cli init project-name react ts
dev3cli init project-name vue
# use typescript
dev3cli init project-name vue ts
dev3cli init project-name typescript
# or
dev3cli init project-name ts
# cd project-name
npm run dev
The project will run at http://0.0.0.0:4000/
or http://localhost:4000/