nuxt-typed-router
Advanced tools
Comparing version
@@ -8,3 +8,3 @@ import fs from 'fs'; | ||
export default moduleOptions => { | ||
const options = Object.assign({}, this.options.axios, moduleOptions); | ||
const options = Object.assign({}, this.options.typedRouter, moduleOptions); | ||
@@ -11,0 +11,0 @@ this.addPlugin({ |
{ | ||
"name": "nuxt-typed-router", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Provide autocompletion for pages route names generated by Nuxt router", | ||
@@ -5,0 +5,0 @@ "main": "lib/module.js", |
import VueRouter, { Location, Route, RouteRecord } from 'vue-router'; | ||
import { RouteNames } from 'nuxt-typed-router/__generated'; | ||
import { RouteNames } from './__generated'; | ||
import { ErrorHandler } from 'vue-router/types/router'; | ||
@@ -4,0 +4,0 @@ import Vue, { AsyncComponent, ComponentOptions } from 'vue'; |
6143
-0.16%