0.31.0 • Published 2 years ago

druxt-router v0.31.0

Weekly downloads
971
License
MIT
Repository
github
Last release
2 years ago

DruxtJS Router

CircleCI Known Vulnerabilities codecov

Drupal router for Nuxt, powered by the Drupal Decoupled Router module.

Links

Features

  • Nuxt.js module with out of the box page routing: druxt-router
  • Vuex store: druxtRouter
  • Vue component: <DruxtRouter />
  • Vue mixin: DruxtRouterEntityMixin

Install

$ npm install druxt-router

Usage

Add module to nuxt.config.js

module.exports = {
  modules: ['druxt-router/nuxt'],
  druxt: {
    baseUrl: 'https://demo-api.druxtjs.org'
  }
}

Options

Druxt Router options

These options are specific to this module.

OptionTypeRequiredDefaultDescription
router.pagesbooleanNotrueWhether to parse the Nuxt pages/ directory.
router.wildcardbooleanNotrueWhether to install the wildcard route.

Base Druxt options

These options are available to all DruxtJS modules.

OptionTypeRequiredDefaultDescription
axiosobjectNo{}Axios instance settings.
baseUrlstringYesnullBase URL for the Drupal installation.
endpointstringNo/jsonapiJSON:API Endpoint of the Drupal installation.
0.31.0

2 years ago

0.30.0

2 years ago

0.29.1

2 years ago

0.29.0

3 years ago

0.27.4

3 years ago

0.28.0

3 years ago

0.27.2

3 years ago

0.27.1

3 years ago

0.27.0

3 years ago

0.27.3

3 years ago

0.26.1

3 years ago

0.26.0

3 years ago

0.24.2

4 years ago

0.25.0

4 years ago

0.24.1

4 years ago

0.24.0

4 years ago

0.23.0

4 years ago

0.22.0

4 years ago

0.21.0

4 years ago

0.20.0

4 years ago

0.19.0

4 years ago

0.19.1

4 years ago

0.18.1

4 years ago

0.18.0

4 years ago

0.17.3

4 years ago

0.17.2

4 years ago

0.17.1

5 years ago

0.17.0

5 years ago

0.16.1

5 years ago

0.16.0

5 years ago

0.15.0

5 years ago

0.14.0

5 years ago

0.13.0

5 years ago

0.12.0

5 years ago

0.11.1

5 years ago

0.11.0

5 years ago

0.10.1

5 years ago

0.10.0

5 years ago

0.9.0

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

6 years ago