A website for the Cinderella City Project, including the history of Cinderella City and latest updates on the project.
yarn installUse this when changes are in progress and realtime updates are required.
yarn run devNOTE: When testing, you may notice that styles flash when the page initially loads. This can be ignored as it shouldn't happen when the compiled website runs.
Use this when changes are not in progress, and the website should be actually built for final testing.
First, build ccp-website locally:
yarn buildThen host it locally for viewing:
yarn previewNOTE: When testing, you may notice that styles flash when the page initially loads. This can be ignored as it shouldn't happen when the final website host is compiled.
NOTE: If changes are made after building, cancel the preview server, and run
yarn buildandyarn previewagain to ensure the latest version of the website is built.
This website uses jdg-ui-svelte and if that package is also being updated locally, be sure to test this website with that latest package.
First, create a link in the jdg-ui-svelte repo:
yarn linkThen, switch to the ccp-website repo and run:
yarn link jdg-ui-svelteIf you want to use the official package (not the linked one), be sure to un-link:
yarn unlink jdg-ui-svelte