nuxt-typed-router
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -7,4 +7,4 @@ import fs from 'fs'; | ||
export default moduleOptions => { | ||
const options = Object.assign({}, this.options.typedRouter, moduleOptions); | ||
function typedRouterModule(moduleOptions) => { | ||
const options = { ...this.options.typedRouter, ..._moduleOptions } | ||
@@ -63,2 +63,3 @@ this.addPlugin({ | ||
module.exports = typedRouterModule; | ||
module.exports.meta = require('../package.json'); |
{ | ||
"name": "nuxt-typed-router", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Provide autocompletion for pages route names generated by Nuxt router", | ||
@@ -5,0 +5,0 @@ "main": "lib/module.js", |
6183
137