Socket
Socket
Sign inDemoInstall

druxt-router

Package Overview
Dependencies
3
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

druxt-router


Version published
Maintainers
1
Install size
2.63 MB
Created

Readme

Source

Druxt router

CircleCI Known Vulnerabilities codecov

Druxt (DRUpal nuXT) is a Nuxt module that provides an easy connection between a Nuxt frontend and Drupal backend.

Install

$ npm install druxt-router

Usage

Add module to nuxt.config.js

module.exports = {
  modules: [
    ...
    ['druxt-router', {
      baseUrl: 'https://example.com',
    }]
  ]
}

Ensure you have activated the Nuxt Vuex store.

Options

OptionTypeRequiredDefaultDescription
axiosobjectNo{}Axios instance settings.
baseUrlstringYesnullBase URL for the Drupal installation.
JSONAPIDeserializerbooleanNofalseEnable/Disable JSON API Serializer parsing of Drupal entities.

Keywords

FAQs

Last updated on 31 Mar 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc