## tsvue3-cli 项目模板[Vue3Template](https://github.com/helpcode/Vue3Template)的官方cli脚手架工具,让你更加快速的创建项目,感受编码的乐趣。 > 1:项目模板:[https://github.com/helpcode/Vue3Template](https://github.com/helpcode/Vue3Template) > 2:项目注解包:[https://www.npmjs.com/package/vue3decorators](https://www.npmjs.com/package/vue3decorators) > 3:自动路由插件:[https://www.npmjs.com/package/vue-cli-plugin-autorouter](https://www.npmjs.com/package/vue-cli-plugin-autorouter) ## 安装 一行命令解决一切 > npm install -g tsvue3-cli ## 使用 你只需要简单的输入以下几条命令即可愉快运行网站: ```js $ tsvue init project # 创建项目 project 为你项目名字(自定义) $ cd project # 进入项目 $ npm run dev # 运行网站 ``` ## 注意 - 1:请先安装`git`并确保`git`命令能在终端中正确反馈,因为`cli`脚手架需要通过`git`来安装下载代码到你的项目中。 - 2:`init`下载速度是基于你的网速决定的,如果太慢不需要着急等待片刻就好。 - 3:`cli`插件会自动帮你进行`npm i`来解决依赖,如果你的`npm`网速很慢,那么在终端看到`🎉 Download Success...`提示后,可以`Ctrl + C`强制结束终端的依赖下载,进而采用`cnpm i`。