@flue3/router
Advanced tools
Comparing version 0.0.5-dev.1 to 0.0.5-dev.2
@@ -6,6 +6,6 @@ import { h } from 'vue'; | ||
setup(props, { slots }) { | ||
const Root = (_) => h('div', {}, _); | ||
const Default = () => (slots.default ? slots.default() : null); | ||
return () => Root(Default()); | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore | ||
return () => h('div', slots.default ? slots.default() : null); | ||
}, | ||
}); |
import { RouterPluginOptions } from './types.js'; | ||
export declare const createRouterPlugin: (options?: RouterPluginOptions | undefined) => (pluginContext: import("flue3/lib/types/AppPluginContext.js").AppPluginContext) => void; | ||
export { useRoute, useRouter } from 'vue-router'; | ||
export { useRoute, useRouter, RouterView, RouterLink, } from 'vue-router'; | ||
export { useLayout } from './composables/useLayout.js'; | ||
@@ -5,0 +5,0 @@ export { useAsyncData } from './composables/useAsyncData.js'; |
@@ -50,3 +50,3 @@ import { definePlugin } from 'flue3'; | ||
}); | ||
export { useRoute, useRouter } from 'vue-router'; | ||
export { useRoute, useRouter, RouterView, RouterLink, } from 'vue-router'; | ||
export { useLayout } from './composables/useLayout.js'; | ||
@@ -53,0 +53,0 @@ export { useAsyncData } from './composables/useAsyncData.js'; |
{ | ||
"name": "@flue3/router", | ||
"version": "0.0.5-dev.1", | ||
"version": "0.0.5-dev.2", | ||
"description": "flue3 <head> tag manager plugin", | ||
@@ -5,0 +5,0 @@ "author": "FL3NKEY", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22592