router-extras-module
router-extras-module copied to clipboard
Extra Add-ons For Nuxt 2 Router
Say I have a page `example.vue` with the following `` property: ```yaml alias: - path: '/event/:id' - path: '/:username/:eventName/:eventCount' ``` My generated router.js looks like: ```js { path: '/example', component:...
> @nuxt/router-extras/lib/extras.js ``` function invalidateRoute (file) { const routes = localRoutes.filter(route => route.component === file) console.log(localRoutes[0].component) // => print like "D:\\hyp-test\\nuxt-test\\pages\\Home.vue" console.log(file) // => print like "D:\hyp-test\nuxt-test\pages\Home.vue" /* istanbul ignore...
I've been trying to setup eslint to analyse my code, but I don't know how.  ESLint doesn't work in router block.
Is it possible to define ``` { name: 'my unique customized name', displayName: 'My Display Name' } ``` as by using name I cannot have duplicated names? Imaging that I...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@nuxtjs/eslint-config](https://togithub.com/nuxt/eslint-config) | [`6.0.1` -> `11.0.0`](https://renovatebot.com/diffs/npm/@nuxtjs%2feslint-config/6.0.1/11.0.0) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [husky](https://togithub.com/typicode/husky) | [`6.0.0` -> `9.0.11`](https://renovatebot.com/diffs/npm/husky/6.0.0/9.0.11) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@nuxtjs/eslint-config](https://togithub.com/nuxt/eslint-config) | [`6.0.1` -> `12.0.0`](https://renovatebot.com/diffs/npm/@nuxtjs%2feslint-config/6.0.1/12.0.0) | [](https://docs.renovatebot.com/merge-confidence/)...