Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 910 Bytes

File metadata and controls

40 lines (27 loc) · 910 Bytes

OS2Loop theme

This is the default theme for OS2Loop.

File structure

  • Follows the template structure of stable9 theme.
  • Js and scss is located in assets folder and compiled into build folder.

Building assets

Assets are built using Symfony Encore.

Build assets (JavaScript and CSS) by running

docker run --volume ${PWD}:/app --workdir /app node:16 yarn install
docker run --volume ${PWD}:/app --workdir /app node:16 yarn build

Watch for changes:

docker run --interactive --tty --volume ${PWD}:/app --workdir /app node:16 yarn watch

During development you may want to run it with your locally installed yarn binary:

yarn install
yarn build

and maybe even watch for changes:

yarn watch