druxt-router 0.27.4 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/nuxt/index.js CHANGED
@@ -18,6 +18,7 @@ const DruxtRouterNuxtModule = async function(moduleOptions = {}) {
18
18
  ...moduleOptions
19
19
  }
20
20
  };
21
+ await this.addModule(["druxt", options]);
21
22
  this.nuxt.hook("components:dirs", (dirs) => {
22
23
  dirs.push({ path: path.join(__dirname, "../dist/components") });
23
24
  });
@@ -63,7 +64,6 @@ const DruxtRouterNuxtModule = async function(moduleOptions = {}) {
63
64
  fileName: "druxt-router.js",
64
65
  options
65
66
  });
66
- this.options.store = true;
67
67
  this.addPlugin({
68
68
  src: path.resolve(__dirname, "../templates/store.js"),
69
69
  fileName: "store/druxt-router.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "druxt-router",
3
- "version": "0.27.4",
3
+ "version": "0.28.0",
4
4
  "description": "Drupal router for Nuxt, powered by the Drupal Decoupled Router module.",
5
5
  "keywords": [
6
6
  "cms",
@@ -42,7 +42,7 @@
42
42
  "templates"
43
43
  ],
44
44
  "dependencies": {
45
- "druxt": "^0.19.3",
45
+ "druxt": "^0.20.0",
46
46
  "url-parse": "^1.5.10"
47
47
  },
48
48
  "devDependencies": {
@@ -1,4 +1,10 @@
1
1
  import DruxtRouter from 'druxt-router/dist/components/DruxtRouter.vue'
2
+ import DruxtModule from 'druxt/dist/components/DruxtModule.vue'
3
+
4
+ DruxtRouter.__docgenInfo.props = [
5
+ ...DruxtModule.__docgenInfo.props,
6
+ ...DruxtRouter.__docgenInfo.props,
7
+ ].sort((a, b) => a.name < b.name ? -1 : 1).filter((o) => o.name !== 'v-model')
2
8
 
3
9
  export default {
4
10
  title: 'Druxt/Router/DruxtRouter',