Work on the stylesheet site.sass with:
> cd src
> sass --watch site.sass:site.css --load-path ../node_modulesInstall dependencies with npm install (or pnpm install or yarn) and start a development server with:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openBuild the stylesheet site.css with:
> cd src
> sass site.sass:site.css --load-path ../node_modulesBefore creating a production version of your app, install an adapter for your target environment. Then:
npm run buildYou can preview the built app with
npm run preview, regardless of whether you installed an adapter. This should not be used to serve your app in production.
Build on branch develop, switch to branch main and then copy the build to the root, commit and push.
> cp -a build/ .