Skip to content

yagee/astro-template

Repository files navigation

Astro Template

wakatime

This is an Astro template project that provides a starting point for building websites using the Astro framework. The template includes various configurations and tools to help developers get started quickly.

Main Function Points

  • Provides a pre-configured Astro project with common settings and dependencies
  • Uses astro-capo for managing meta tags and SEO
  • Adds a sitemap for better search engine optimization
  • Includes Prettier and ESLint for code formatting and linting

Technology Stack

  • Astro: A static site generator for building fast and content-focused websites
  • astro-capo: A library for managing HTML head tags, including meta tags and SEO
  • Prettier: A code formatter for maintaining consistent code style
  • ESLint: A linter for identifying and fixing problems in JavaScript code

Commands

Command Action
pnpm i Installs dependencies
pnpm dev Starts local dev server at localhost:4321
pnpm build Build your production site to ./dist/
pnpm preview Preview your build locally, before deploying
pnpm sync Generates TypeScript types for all Astro modules.
pnpm prettier Check code format with Prettier
pnpm prettier:fix Format codes with Prettier
pnpm lint Lint with ESLint

Upgrade

pnpm dlx @astrojs/upgrade

About

This is my own Astro template.

Topics

Resources

Stars

Watchers

Forks

Contributors