File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,12 @@ yarn add nuxtjs-drupal-ce # or npm install nuxtjs-drupal-ce
3131``` js
3232{
3333 buildModules: [
34- // Simple usage
3534 ' nuxtjs-drupal-ce' ,
36-
37- // With options
38- [' nuxtjs-drupal-ce' , {
39- baseURL: ' https://your-drupal.example.com'
40- }]
41- ]
35+ ],
36+ ' drupal-ce' , {
37+ baseURL: ' https://your-drupal.example.com' ,
38+ // more options...
39+ }
4240}
4341```
44423 . Get started quickly by scaffolding initial files:
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ module.exports = {
55 modules : [
66 resolve ( __dirname , '..' )
77 ] ,
8- 'nuxtjs- drupal-ce' : {
8+ 'drupal-ce' : {
99 baseURL : 'http://localhost:3000/test-api/'
1010 }
1111}
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ module.exports = async function (moduleOptions) {
1515 const options = {
1616 ...defaultOptions ,
1717 ...this . options [ 'nuxtjs-drupal-ce' ] ,
18+ ...this . options [ 'drupal-ce' ] ,
1819 ...moduleOptions
1920 }
2021
You can’t perform that action at this time.
0 commit comments