Astro! - a workshop
Let's learn🚀 Get started
Pre-requisites
- Node.js v14.x or above
- Check your version with
node --version
and update at Node.js
- Check your version with
- npm, ideally v7 or above
- Check your version with
npm --version
and update following these instructions
- Check your version with
Instructions
In the root of the project, from a terminal:
- Install local dependencies with
npm install
- Start a local development server with
npm start
ornpm run dev
In your browser, open http://localhost:3000
🧞 Commands
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm start or npm run dev |
Starts local dev server at localhost:3000 |
npm run build |
Build your production site to ./dist/ |