Astro sample

This post explains how to use astro and the broad set of templates available. Astro is a static web site generator using nodejs based astro. Like with a dynamic web site, astro allows you to make reusable components and create an optimized plain html/css/js output running optimal on all browser engines. With that, there is no engine in between the browser and your content.

In order to still use dynamic content, you can retrieve any data through “await fetch()” function.

Quickstart

npm create astro@latest -- --template templatename
cd yourdirectory
npm install
npm run dev
npm run build
  1. Optionally, format your source files with Prettier.
npm run format

If you use mise-en-place for your tooling, this project comes with a mise configuration file.