Lupus Nuxt.js Drupal Stack - Example project
This is a simple example project demonstrating the Lupus Nuxt.js Drupal Stack.
Introduction
Please refer to https://stack.lupus.digital for more information about the stack.
Prerequisites
- 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
Setup
Drupal setup
Build the Drupal site via composer:
ddev composer install
And install it:
ddev drush site-install minimal --existing-config
You can log into your Drupal backend now and start editing content!
Nuxt.js setup
cd demo-frontend
npm install
Development
From demo-frontend:
npm run dev
Development
From demo-frontend:
npm run build
npm run start