Switch to scss to reduce css bundle size, switch to cyan colour theme
All checks were successful
release / Publish to Cloudflare Pages (push) Successful in 1m28s
All checks were successful
release / Publish to Cloudflare Pages (push) Successful in 1m28s
This commit is contained in:
10
README.md
10
README.md
@@ -8,11 +8,19 @@ Also includes a contact form, which sends an email with relevant details from wh
|
||||
|
||||
Ensure npm is installed.
|
||||
|
||||
Download pico css:
|
||||
Download dependencies:
|
||||
|
||||
`npm install`
|
||||
|
||||
Run `./build.sh` to build the site that is served by cloudflare pages
|
||||
|
||||
## Debugging
|
||||
|
||||
Easiest way to debug/visualise the content is to use the inbuilt IDE browser. VS Code/Codium can display a preview side-by-side by clicking the Open Preview to the Side button.
|
||||
This will show changes live, exactly as the content will be rendered when run from another webserver.
|
||||
|
||||
To generate the css file during development, run the following:
|
||||
|
||||
`npx sass --watch site.scss. site.css`
|
||||
|
||||
Note: The contact form cannot be tested locally with wrangler as this is not supported by Email Routing, instead you'll need to use the --remote
|
||||
|
||||
Reference in New Issue
Block a user