Socket
Socket
Sign inDemoInstall

uniapp-router-next

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uniapp-router-next - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "uniapp-router-next",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -5,0 +5,0 @@ "exports": {

@@ -37,15 +37,17 @@ # uniapp-router-next

import { createSSRApp } from 'vue'
import RouterNavigate from 'uniapp-router-next/components/router-navigate/router-navigate.vue'
import router from './router'
import App from './App.vue'
import router from './router'
export function createApp() {
const app = createSSRApp(App)
app.component('router-navigate', RouterNavigate)
app.use(router)
return {
app,
app
}
}
```
### 跳转
### api跳转

@@ -71,2 +73,8 @@ ```typescript

### 组件跳转
```html
<template>
<router-navigate to="/pages/index/index">go</router-navigate>
</template>
```
### 路由信息

@@ -73,0 +81,0 @@ ```typescript

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc