Nuxt/test/fixtures/spa/plugins/path.js

5 lines
156 B
JavaScript
Raw Normal View History

export default function ({ route }, inject) {
// Inject route's fullPath as seen initially within the plugin.
inject('routeFullPath', route.fullPath)
}