druxt-router
Advanced tools
Comparing version 0.29.1 to 0.30.0
{ | ||
"name": "druxt-router", | ||
"version": "0.29.1", | ||
"version": "0.30.0", | ||
"description": "Drupal router for Nuxt, powered by the Drupal Decoupled Router module.", | ||
@@ -45,3 +45,3 @@ "keywords": [ | ||
"dependencies": { | ||
"druxt": "^0.22.0", | ||
"druxt": "^0.23.0", | ||
"url-parse": "^1.5.10" | ||
@@ -48,0 +48,0 @@ }, |
import { DruxtRouter } from 'druxt-router' | ||
export default (context, inject) => { | ||
export default ({ app }, inject) => { | ||
const baseUrl = '<%= options.baseUrl %>' | ||
@@ -27,2 +27,5 @@ const options = {} | ||
options.axios = <%= JSON.stringify(options.axios) %> | ||
<% } else { %> | ||
// Use the @nuxtjs/axios module Axios instance. | ||
options.axios = app.$axios | ||
<% } %> | ||
@@ -29,0 +32,0 @@ |
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
38962
852
+ Addeddruxt@0.23.0(transitive)
- Removeddruxt@0.22.0(transitive)
Updateddruxt@^0.23.0