Opinionated Astro template for new projects.
- Go to or create the project folder.
- Get the template files:
npx giget github:joaopalmeiro/template-astro . --force
- Search for
template-astro
and replace it with the project name. Ignore the template repository URL in the NOTES.md file. - Search for
Opinionated Astro template for new projects.
/Opinionated [Astro](https://astro.build/) template for new projects.
and replace it with the (short) project description. - Search for
João Palmeiro
and replace it with the author's name. - Search for
joaopalmeiro@proton.me
and replace it with the author's email address. - Change the
author.url
field in thepackage.json
file to the author's website/social media profile. - Install fnm (if necessary).
- Run the first two commands in the
Development
section to install Node.js and the development dependencies. - Open the NOTES.md file and install the project-specific dependencies according to the first command in the
Commands
section. - Remove
minimal-demo/
from the .gitignore file. - Delete the TEMPLATE.md file.
- Delete the
Getting Started
section.
Install fnm (if necessary).
fnm install && fnm use && node --version && npm --version
npm install
npm run dev
npm run lint
npm run format
npm run build