Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@druxt-contrib/config-pages
Advanced tools
[![npm](https://badgen.net/npm/v/@druxt-contrib/config-pages)](https://www.npmjs.com/package/@druxt-contrib/config-pages) [![Known Vulnerabilities](https://snyk.io/test/github/druxt-contrib/druxt-config-pages/badge.svg?targetFile=package.json)](https://sn
Decoupled Drupal configuration pages for Druxt
The DruxtConfigPages module consumes configuration data from the Drupal Config Pages module and makes it easily accessible with a Vuex store and Nuxt plugin.
$druxtConfigPages.get('foo.bar')
$druxtConfigPages.get('foo').bar
$druxtConfigPages.get('foo.bar')
$store.getters['druxtConfigPages/foo'].bar
Install and enable the Drupal Config Pages module on your Druxt backend.
Create at least one Config Page type and entity:
/admin/structure/config_pages/types
Add the "View the [foo] config page entity" permission to the required Druxt role(s).
Install the Nuxt modules:
$ npm install druxt @druxt-contrib/config-pages
Add module to nuxt.config.js
module.exports = {
buildModules: ['@druxt-contrib/config-pages'],
druxt: {
baseUrl: 'https://demo-api.druxtjs.org',
configPages: {
pages: ['foo']
}
}
}
Note: Replace foo
with the machine name of your Config Page type.
Option | Type | Required | Default | Description |
---|---|---|---|---|
druxt.configPages.pages | array | Yes | [] | An array of Config Page types. |
0.1.3
FAQs
[![npm](https://badgen.net/npm/v/@druxt-contrib/config-pages)](https://www.npmjs.com/package/@druxt-contrib/config-pages) [![Known Vulnerabilities](https://snyk.io/test/github/druxt-contrib/druxt-config-pages/badge.svg?targetFile=package.json)](https://sn
We found that @druxt-contrib/config-pages demonstrated a not healthy version release cadence and project activity because the last version was released 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.