archipelago_subtheme_dcpl theme uses Webpack to compile and bundle SASS and JS.
Make sure you have Node and npm installed. You can read a guide on how to install node here: https://docs.npmjs.com/getting-started/installing-node
If you prefer to use Yarn instead of npm, install Yarn by following the guide here.
Go to the root of archipelago_subtheme_dcpl theme and run the following commands:
nvm use
This command triggers the node version switch specified in the .nvmrc
file
Read more about NVM
then:
npm install
or yarn install
Create a copy of .env.example file and rename it to .env.local:
cp .env.example .env.local
Update DRUPAL_BASE_URL
in .env.local file.
Enable and set the newly created theme as default theme.
drush en archipelago_subtheme_dcpl -y
drush config-set system.theme default archipelago_subtheme_dcpl -y
Run the following command to compile Sass and watch for changes: npm run watch
or respectively yarn watch
.