Skip to content

wtchnm/Lastro

Repository files navigation

Lastro

Opinionated Astro starter template.

Uses Astro V5, Tailwind CSS V4 and TypeScript. Comes pre configured with:

  • A Prettier plugin that automatically sorts classes.
  • Self hosted Inter font with fallback.
  • A middleware for preloading render blocking CSS.
  • A base layout.

Getting started

Use this repository as a GitHub template or use degit, and then install the dependencies:

pnpm dlx degit wtchnm/Lastro#main my-site
pnpm i

Scripts

  • pnpm dev: Starts the development server.
  • pnpm lint: Runs Astro, Typescript and Prettier to check for issues.
  • pnpm format: Formats the code using Prettier.
  • pnpm build: Builds the site for production.
  • pnpm preview: Starts a local server to preview the production build.

About

Opinionated Astro starter template.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •