This is a simple example project demonstrating the Lupus Nuxt.js Drupal Stack.
Please refer to https://stack.lupus.digital for more information about the stack.
- The project makes use of ddev-local - *short ddev - as local development helper around docker. Please refer to its documentation for installing it first.
- Node.js (12.x or newer) as required by Nuxt.js
Build the Drupal site via composer:
ddev composer install
And install it:
ddev drush site-install minimal --existing-config
Start containers:
ddev start
If you get an error about ports being taken already either stop the processes that use the ports or update ports for this project. You can find them in .ddev/config.yaml for BE and then add it for the BASE_URL in nuxt.config.js.
You can log into your Drupal backend now and start editing content!
cd demo-frontend
npm install
From demo-frontend:
npm run dev
From demo-frontend:
npm run build
npm run start