update
This commit is contained in:
+24
@@ -1,5 +1,17 @@
|
||||
# vue3 typescript vue-router vuex setup
|
||||
|
||||
|
||||
|
||||
## 使用模板
|
||||
|
||||
```bash
|
||||
npx degit veypi/vite-starter#master project_name
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### 最近发现vue3相关库都更新的差不多了,尝试学习了新的版本, 使用setup 的确变了很多,像ref 、prop面目全非,刚开始用还找了很久
|
||||
|
||||
## 创建项目
|
||||
@@ -43,6 +55,18 @@ export default router
|
||||
|
||||
|
||||
|
||||
### tailwindcss
|
||||
|
||||
|
||||
|
||||
```bash
|
||||
npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
|
||||
npx tailwindcss init -p
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
### [vuex](https://next.vuex.vuejs.org/zh/guide/typescript-support.html)
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user