/aspect-ratio

Sutil Nose Cone

Primary LanguageF#Mozilla Public License 2.0MPL-2.0

Sutil Nose Cone

Before developing or building for deployment run:

> dotnet tool restore
> npm install

Developing

Work on the stylesheet site.sass with:

> cd src
> sass --watch site.sass:site.css --load-path ../node_modules

Install 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 -- --open

Building

Build the stylesheet site.css with:

> cd src
> sass site.sass:site.css --load-path ../node_modules

Build for deployment with:

npm run build

You can preview the built app with npm run preview. This should not be used to serve your app in production.

Publishing

Build on branch develop, switch to branch main and then copy the build to the root, commit and push.

> cp -a build/ .