Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sunnshare/vue-router-source-code
vue-router实现:history/hash/addRoutes/match/beforeEach/router-link/router-view
https://github.com/sunnshare/vue-router-source-code
addroutes beforeeach hash history match router-link router-view vue-router
Last synced: 10 days ago
JSON representation
vue-router实现:history/hash/addRoutes/match/beforeEach/router-link/router-view
- Host: GitHub
- URL: https://github.com/sunnshare/vue-router-source-code
- Owner: sunnshare
- Created: 2023-12-20T15:56:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-22T14:08:00.000Z (about 1 year ago)
- Last Synced: 2024-11-07T08:44:23.592Z (2 months ago)
- Topics: addroutes, beforeeach, hash, history, match, router-link, router-view, vue-router
- Language: JavaScript
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [vue-router 实现原理](./src/vue-router/index.js)
## Project setup
```
pnpm install
```### Compiles and hot-reloads for development
```
pnpm run serve
```### Compiles and minifies for production
```
pnpm run build
```### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).