Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@flue3/router

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flue3/router - npm Package Compare versions

Comparing version 0.0.8-dev.0 to 0.0.9-dev.0

6

lib/router.js

@@ -8,3 +8,3 @@ import { createRouter, createWebHistory, createMemoryHistory, } from 'vue-router';

export * from 'vue-router';
export const createRouterPlugin = definePlugin(async ({ appContext, inject }, options) => {
export const createRouterPlugin = definePlugin(async ({ appContext, inject, onAfterEntry, }, options) => {
const router = createRouter({

@@ -37,3 +37,5 @@ routes: [...options.routes, ...pluginRoutes],

createErrorStateMiddleware(appContext);
createRoutesMiddleware(appContext);
onAfterEntry(() => {
createRoutesMiddleware(appContext);
});
if (appContext.isServer) {

@@ -40,0 +42,0 @@ await router.push(appContext?.req?.url ?? '/');

{
"name": "@flue3/router",
"version": "0.0.8-dev.0",
"version": "0.0.9-dev.0",
"description": "flue3 <head> tag manager plugin",

@@ -5,0 +5,0 @@ "author": "FL3NKEY",

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