v-template-cli

A cli tool for generating Vue templates

Usage no npm install needed!

<script type="module">
  import vTemplateCli from 'https://cdn.skypack.dev/v-template-cli';
</script>

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.

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 the template you want to pull

Choose whether to install dependencies immediately:

Choose whether to install dependencies immediately

After the installation is complete, enter the directory and start the project:

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:

Choose whether to overwrite the original folder

Browsers support

Modern browsers and Internet Explorer 10+.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
IE10, IE11, Edge last 2 versions last 2 versions last 2 versions

License

MIT license.

Copyright (c) 2020-present LuYingHeng