druxt-router
Advanced tools
Comparing version 0.23.0 to 0.24.0
# druxt-router | ||
## 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. | ||
```jsx | ||
<DruxtRouter path="/node/1" /> | ||
``` | ||
- 9161b38: Added fetch hook to DruxtRouter component. | ||
- 9161b38: Added option to disable the DruxtRouter page middleware. | ||
```js | ||
export default { | ||
druxt: { | ||
router: { | ||
middleware: false | ||
} | ||
} | ||
}; | ||
``` | ||
Note: This is experimental and your results may vary. | ||
## 0.23.0 | ||
@@ -4,0 +30,0 @@ |
@@ -285,2 +285,6 @@ import { DruxtClient } from 'druxt'; | ||
props: { | ||
path: { | ||
type: String, | ||
default: void 0 | ||
}, | ||
route: { | ||
@@ -287,0 +291,0 @@ type: Object, |
@@ -293,2 +293,6 @@ 'use strict'; | ||
props: { | ||
path: { | ||
type: String, | ||
default: void 0 | ||
}, | ||
route: { | ||
@@ -295,0 +299,0 @@ type: Object, |
@@ -51,2 +51,5 @@ 'use strict'; | ||
}); | ||
this.nuxt.hook("storybook:config", async ({ stories }) => { | ||
stories.push("druxt-router/dist/components/*.stories.mjs"); | ||
}); | ||
}; | ||
@@ -53,0 +56,0 @@ DruxtRouterNuxtModule.meta = require("../package.json"); |
{ | ||
"name": "druxt-router", | ||
"version": "0.23.0", | ||
"version": "0.24.0", | ||
"description": "Drupal router for Nuxt, powered by the Drupal Decoupled Router module.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35889
13
733