API Documentation
Release notes
router
druxt-router
0.31.0
Minor Changes
- 86094105: feat(#660): added @nuxtjs/axios support to the Router plugin.
Patch Changes
- Updated dependencies [7664d90d]
0.29.1
Patch Changes
- Updated dependencies [41cab3a0]
0.29.0
Minor Changes
- f6b4a664: feat(#578): updated component to support the DruxtDevelTemplate tool.
Patch Changes
- Updated dependencies [e46a3290]
0.28.0
Minor Changes
- 54c8ece3: Enabled dependencies when only using Nuxt druxt-router module.
Patch Changes
- fc811db3: Add DruxtModule props to component module stories.
- Updated dependencies [49b67872]
0.27.4
Patch Changes
- 45e14b84: Fixed support for nuxt/storybook.
- Updated dependencies [352b7a51]
0.27.3
Patch Changes
- 9819eeed: Fixed issue with single lingual sites using JSON:API Extras.
- Updated dependencies [4ff0ad81]
0.27.2
Patch Changes
- f86b372f: Fixed issues on single lingual sites
0.27.1
Patch Changes
- 4150e25: Fixed issues on single lingual sites
- Updated dependencies [4150e25]
0.27.0
Minor Changes
- be21952: Added langcode support to the DruxtRouter.
- be21952: Added langcode to component mixins.
Patch Changes
- Updated dependencies [be21952]
0.26.1
Patch Changes
- Updated dependencies [e3d5238]
0.26.0
Minor Changes
- b79701c: Added debug and default slots to the DruxtRouter component.
- b79701c: feat(#249): Improved DruxtRouter storybook stories and documentation.
Patch Changes
- Updated dependencies [b79701c]
0.25.0
Minor Changes
- 7b749bd: Added improved error handling.
Patch Changes
- Updated dependencies [7b749bd]
0.24.2
Patch Changes
- Updated dependencies [2ae1d6d]
0.24.1
Patch Changes
- Updated dependencies [45bc0b9]
0.24.0
Minor Changes
-
9161b38: Added Storybook integration for the DruxtRouter component.
-
9161b38: Added ability to render a specific route using the Path property.
<DruxtRouter path="/node/1" />
-
9161b38: Added fetch hook to DruxtRouter component.
-
9161b38: Added option to disable the DruxtRouter page middleware.
export default { druxt: { router: { middleware: false, }, }, };
Note: This is experimental and your results may vary.
0.23.0
Minor Changes
- 77ab204: Added support for API Proxy
Patch Changes
- Updated dependencies [77ab204]
0.22.0
Minor Changes
- c7b267a: Throw Error on router errors
Patch Changes
- Updated dependencies [4504a2f]
0.21.0
Minor Changes
-
9d905e8: Set router
pages
option default based on presence ofpages/
directory. -
9d905e8: Moved Nuxt module to
druxt-router/nuxt
⚠ Potential breaking change
-modules: ['druxt-router'] +modules: ['druxt-router/nuxt']
-
dae345e: Added module level options
Patch Changes
- Updated dependencies [dae345e]
0.20.0
Minor Changes
- 1ab762c: Enabled Nuxt Vuex store by default
- ecefef5: Added option to disable wildcard route
- 715e5ef: Updated component registration method to use the Nuxt
components:dirs
hook - cbc66cd: Added option to disable
pages/
routes
Patch Changes
- Updated dependencies [715e5ef]
0.19.1
Patch Changes
- c4616df: Fixed dependencies
0.19.0
Minor Changes
-
21170fb: Moved Vue components out of bundle
⚠ Potential breaking change
Note: This only effects custom Druxt modules and implementations.
-import { DruxtRouter } from 'druxt-router' +import DruxtRouter from 'druxt-router/dist/components/DruxtRouter.vue'
Patch Changes
- Updated dependencies [21170fb]
0.18.1
Patch Changes
- Added
hid
to canonical meta tag - Fixed issue with metatags
0.18.0
Minor Changes
- Deprecated client methods in favour of DruxtClient
0.17.3
Patch Changes
- Fixed issue with querystring and getRedirect()
0.17.2
Patch Changes
- Updated dependencies
0.17.1
Patch Changes
- Fixed issue with permission check
0.17.0
Minor Changes
- Added support for DruxtComponentMixin
0.16.1
Patch Changes
- Updated Nuxt module
- Updated dependencies
0.16.0
Minor Changes
- Added documentation
- Updated dependencies
0.15.0
Minor Changes
- Added resolved path to router information
- Added
all
option to getResources
0.14.0
Minor Changes
- Added support for Drupal JSON:API Params
- Added addHeaders() method
0.13.0
Minor Changes
- Added resource index
- Added support for remapped resources
- Added getResources method
0.12.0
Minor Changes
- Added support for customisable endpoint
- Added type and uuid data
- Fixed hydration issue
0.11.1
Patch Changes
- Fixed hydration issue
0.11.0
Minor Changes
- Added support for additional router types
- Added support for JSON:API Views routes
0.10.1
Patch Changes
- Fixed router WSOD error
0.10.0
Minor Changes
- Add configurable Router component
- Refactored DruxtRouterEntityMixin
- Removed support for JSON API Deserializer
0.9.0
Minor Changes
- Updated module to use shared Druxt configruation
0.8.0
Minor Changes
- Improved error handling for missing routes
0.7.0
Minor Changes
- Added getRoute action to Vuex store
- Refactored Nuxt plugin
0.6.0
Minor Changes
- Added Axios settings support
0.5.0
Minor Changes
- Added support for redirects
- Added support for JSON API resourceName
0.4.2
Patch Changes
- Fixed various issues
0.4.1
Patch Changes
- Fixed various issues