Skip to content

Yet another Astro.js template. No default pages and no components, only DX config.

License

Notifications You must be signed in to change notification settings

Pkcarreno/astro-minimal-template

Repository files navigation

Spanish

Astro Minimal Template

Yet another Astro.js template. No default pages or UI components, just base config to improve the developer experience so you can start your projects without worrying about extra steps.

Features

  • TailwindCSS for styling.
  • TypeScript, ESLint and Prettier to improve code quality and prevent bugs throughout the project.
  • Husky and Lint-Staged to run automations on certain Git commands and force following standards.
  • GitHub Actions workflows to automate project management.
  • Minimal helper libraries:
    • astro-seo for easy implementation of important meta tags.
    • astro-font to import fonts from Google Font or other CDN easily.
  • Generic Link Component based on astro-link.
  • Astro.js Sitemap integration

Motivation

When starting a project, you always have to spend time installing and setting up the libraries that help manage the project before even dealing with the UI and business logic. So I created this template with all the basics to help you get started faster. It is strongly inspired by Obytes's React Native template, which I recommend visiting even if your project is not React Native.

Considerations

The project is intended to be used with the pnpm package manager.

Installation

Run the command:

pnpm create @pkcarreno/create-astro-minimal@latest

And follow the instructions.

License

MIT