Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.49 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.49 KB

Grand 🐘

Static website built using 📰 Astro

Setup

Be sure to have a working prettier/eslint configuration and that you handle .astro files in your IDE:

🔧 Installation and usage

You first need to setup the work environment by running

yarn install

You can run your dev environment by running:

yarn dev

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
yarn install Installs dependencies
yarn dev Starts local dev server at localhost:4321
yarn build Build your production site to ./dist/
yarn lint Run eslint on all js(x)/ts(x)/astro files
yarn fix Fix eslint on all js(x)/ts(x)/astro files
yarn preview Preview your build locally, before deploying
yarn astro ... Run CLI commands like astro add, astro check
yarn astro -- --help Get help using the Astro CLI