Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/).