npm

dev3cli

0.0.16 • Public • Published

dev3cli

自己用的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

Downloads Version License

Install

# npm
npm install -g dev3cli
# or
npm i -g dev3cli

# yarn
yarn global add dev3cli

Create a New Project

dev3cli init project-name

use vite/vue3.x

dev3cli init project-name vite

use vite/react

dev3cli init project-name vite react

use React(webpack)

dev3cli init project-name react
# use typescript
dev3cli init project-name react ts

use Vue2.x(webpack)

dev3cli init project-name vue
# use typescript
dev3cli init project-name vue ts

use typescript only(webpack)

dev3cli init project-name typescript
# or
dev3cli init project-name ts

Run the project

# cd project-name
npm run dev

The project will run at http://0.0.0.0:4000/ or http://localhost:4000/

Package Sidebar

Install

npm i dev3cli

Weekly Downloads

1

Version

0.0.16

License

MIT

Unpacked Size

57.6 kB

Total Files

59

Last publish

Collaborators

  • capricorncd