first commit

This commit is contained in:
编码猿
2024-09-27 00:58:46 +08:00
commit 92916abf8f
156 changed files with 19331 additions and 0 deletions

35
Vue3TCli/README.md Executable file
View File

@@ -0,0 +1,35 @@
## 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`