Socket
Socket
Sign inDemoInstall

storybook-vue3-router

Package Overview
Dependencies
56
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

CHANGELOG.md

0

.babelrc.js

@@ -0,0 +0,0 @@ module.exports = {

@@ -0,0 +0,0 @@ /**

4

dist/esm/withVueRouter.js

@@ -13,6 +13,4 @@ import { app } from "@storybook/vue3";

if (context.viewMode === 'story' && !vueRouterGlobalProperty && !vueRouteGlobalProperty) {
console.log(app);
if (!vueRouterGlobalProperty && !vueRouteGlobalProperty) {
/* get routes from either `routesParam` or use `defaultRoutes` */
var routes = routesParam || defaultRoutes;

@@ -19,0 +17,0 @@ /* create vue router */

export declare const ADDON_ID = "vue3-router";
import type { RouteRecordRaw } from "vue-router";
export declare const defaultRoutes: RouteRecordRaw[];
import vueRouter from './withVueRouter';
export default vueRouter;

@@ -0,0 +0,0 @@ /**

import { RouteRecordRaw } from "vue-router";
export declare const withVueRouter: (routesParam?: Array<RouteRecordRaw>, beforeEach?: Function) => (...args: any) => any;
export default withVueRouter;
{
"name": "storybook-vue3-router",
"version": "1.0.2",
"version": "1.0.3",
"description": "A Storybook decorator that allows you to build stories for your routing-aware components.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -0,0 +0,0 @@ function setup(entry = []) {

@@ -0,0 +0,0 @@ # Storybook Vue 3 Router

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc