Skip to content

joaopalmeiro/template-astro

Repository files navigation

template-astro

Opinionated Astro template for new projects.

Getting Started

  1. Go to or create the project folder.
  2. Get the template files:
npx degit github:joaopalmeiro/template-astro

or

npx degit github:joaopalmeiro/template-astro --force
  1. Search for template-astro and replace it with the project name.
  2. 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.
  3. Search for João Palmeiro and replace it with the author's name.
  4. Search for [email protected] and replace it with the author's email address.
  5. Change the author.url field in the package.json file to the author's website/social media profile.
  6. Install fnm (if necessary).
  7. Run the first two commands in the Development section to install Node.js and the development dependencies.
  8. Open the NOTES.md file and install the project-specific dependencies according to the first command in the Commands section.
  9. Remove minimal-demo/ from the .gitignore file.
  10. Delete the TEMPLATE.md file.
  11. Delete the Getting Started section.

Development

Install fnm (if necessary).

fnm install && fnm use && node --version && npm --version
npm install
npm run dev
npm run lint
npm run format

Deployment

npm run build

About

Opinionated Astro template for new projects.

Resources

License

Stars

Watchers

Forks