docs: update getting started

This commit is contained in:
misitebao 2021-09-08 12:20:39 +08:00
parent 4255ac9c27
commit 6a045ece2f
2 changed files with 25 additions and 1 deletions

View File

@ -80,6 +80,8 @@ I hope that Vue and its powerful community ecology can be used in Wails applicat
## Getting Started
### New Project
```
wails init -n [Your Appname] -t https://github.com/misitebao/wails-template-vue
```
@ -89,7 +91,17 @@ flag description:
- n - The name of the application to be created
- t - Template name, supports built-in template names and third-party templates in the form of hyperlinks
<span id="nav-8"></span>
### Front-end reference document
The front-end part uses Vue Vue-Router and Vue-I18N:
- Vue - Use vue3.x version, the specific content can refer to the official[Vue Document](https://v3.cn.vuejs.org/guide/introduction.html).
- Vue-Router - Use Vue-Router 4.x version, please refer to the official [Documents](https://next.router.vuejs.org/) for specific usage.
- Use Vue-I18N 9.x version, please refer to official [Documents](vue-i18n.intlify.dev/) for specific usage.
Then you can refer to the official Wails document to start developing your application🤞.
<span id="nav-8"></span>
## Maintainer

View File

@ -80,6 +80,8 @@ wails-template-vue 模板是一个支持 Wails 应用的 Vue 模板,默认提
## 新手入门
### 新建项目
```
wails init -n [你的应用名称] -t https://github.com/misitebao/wails-template-vue
```
@ -89,6 +91,16 @@ wails init -n [你的应用名称] -t https://github.com/misitebao/wails-templat
- n - 将要创建的应用名称
- t - 模板名称,支持内置模板名称以及超链接形式的第三方模板
### 前端部分参考文档
前端部分使用了 Vue Vue-Router 和 Vue-I18N。
- Vue - 使用 Vue 3.x 版本,具体内容可以参考[Vue 官方文档](https://v3.cn.vuejs.org/guide/introduction.html)。
- Vue-Router - 使用 Vue-Router 4.x 版本,具体使用方式请参考[官方文档](https://next.router.vuejs.org/)。
- Vue-I18N - 使用 Vue-I18N 9.x 版本,具体使用方式请参考[官方文档](vue-i18n.intlify.dev/)。
然后您就可以参考 Wails 官方文档开始开发您的应用啦 🤞!
<span id="nav-8"></span>
## 维护者