Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
druxt-router
Advanced tools
Drupal router for Nuxt, powered by the Drupal Decoupled Router module.
druxt-router
druxtRouter
<DruxtRouter />
DruxtRouterEntityMixin
$ npm install druxt-router
Add module to nuxt.config.js
module.exports = {
modules: [
...
'druxt-router'
],
druxt: {
baseUrl: 'https://demo-api.druxtjs.org'
}
}
Ensure you have activated the Nuxt Vuex store.
These options are available to all DruxtJS modules.
Option | Type | Required | Default | Description |
---|---|---|---|---|
axios | object | No | {} | Axios instance settings. |
baseUrl | string | Yes | null | Base URL for the Drupal installation. |
endpoint | string | No | /jsonapi | JSON:API Endpoint of the Drupal installation. |
FAQs
Drupal router for Nuxt, powered by the Drupal Decoupled Router module.
The npm package druxt-router receives a total of 66 weekly downloads. As such, druxt-router popularity was classified as not popular.
We found that druxt-router demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.