README
v-template-cli
English | 简体中文
Cli tool for automatically pulling vue project templates
Include:
- vue-admin-template:Based on vue-admin-template backend management system template, and adds commonly used tool functions and some packaging and compatibility modifications to element-ui components.
- vue-app-template:Lightweight WebApp template. Use vant as the basic ui component library, and use lib-flexible Rem adaptation with postcss-pxtorem.
- vue-visual-template:Visualize large-screen project templates. Simple vue component packaging for Echarts; preset jiaminghi's DataV (a vue large-screen data display component library) (not Alibaba Cloud's data visualization solution, visible access The importance of the name), and dealt with its compatibility on ie; added full-screen components and adaptive wrapper components.
Environmental dependence
"node": ">= 10.0.0",
"npm": ">= 5.6.0"
"Other versions are not tested yet"
install
npm i v-template-cli -g
or
yarn global add v-template-cli
use
create a project
vt create
To create a new project, run:
vt create hello-world
Choose the template you want to pull:
Choose whether to install dependencies immediately:
After the installation is complete, enter the directory and start the project:
When the file name is repeated and you want to create the template again, you can choose whether to overwrite the original folder:
Browsers support
Modern browsers and Internet Explorer 10+.
IE / Edge | Firefox | Chrome | Safari |
---|---|---|---|
IE10, IE11, Edge | last 2 versions | last 2 versions | last 2 versions |
License
MIT license.
Copyright (c) 2020-present LuYingHeng