Astro Launchpad
A template project designed to accelerate Astro development with pre-configured features and tools.
Key features:
- Hybrid Rendering: Combines SSG and SSR routes within a single Astro project using Astro 2.0's hybrid output.
- Vercel Deployment: Optimized for Vercel, supporting hosting, SSR, and API microservices (serverless and edge).
- Automatic API Client Generation: Automatically generates API clients in
pages/api-client
for seamless microservice interaction. - Turborepo Integration: Utilizes Turborepo for monorepo management, code sharing, and build caching (local and remote).
- Pre-configured Tools: Includes
@vercel/analytics
,preact
,astrojs-service-worker
,@astrojs/image
,astro-robots-txt
,astro-sitemap
,astro-webmanifest
,eslint
,browserslist
,dotenv
,prettier
, and a customtsconfig
base config. - Image Optimization: Pre-configured with the
sharp
package for local image optimization. - Shared Packages: Includes shared packages for components, i18n, authentication, icons, reactive helpers, theming, and unified configurations.
Practical Applications:
- Rapidly prototype and deploy Astro-based web applications.
- Establish a scalable monorepo architecture with Turborepo.
- Implement internationalization and authentication with pre-configured packages.
- Optimize images and SEO with built-in tools.
- Create API microservices with automatically generated clients.