This commit is contained in:
有来技术
2021-11-20 23:59:45 +08:00
parent 8f1a7c7a61
commit 0091a5fab2
20 changed files with 908 additions and 93 deletions

View File

@@ -33,7 +33,7 @@ npm run dev
npm install vue-router@next
```
src 下创建 router/index.ts
src 下创建 router/interface.ts
```typescript
import {createRouter, createWebHashHistory, RouteRecordRaw} from 'vue-router'
@@ -71,7 +71,7 @@ export default router
npm install vuex@next
```
src 下创建 store/index.ts
src 下创建 store/interface.ts
```typescript
import {InjectionKey} from 'vue'