项目
在 GitHub 查看 Astro Landing Page
mhyfritz/astro-landing-page
关于
用于落地页的 Astro + Tailwind CSS 示例/模板
网站与应用开发可以做什么
- 💨 Tailwind CSS for styling
- CSS variables are defined in src/styles/theme.css and mapped to Tailwind classes (tailwind.config.cjs)
- 📱 Responsive (layout, images, typography)
- ♿ Accessible (as measured by https://web.dev/measure/)
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Astro Landing Page 
An Astro + Tailwind CSS example/template for landing pages.

Features
- 💨 Tailwind CSS for styling
- 🎨 Themeable
- CSS variables are defined in
src/styles/theme.cssand mapped to Tailwind classes (tailwind.config.cjs)
- CSS variables are defined in
- 🌙 Dark mode
- 📱 Responsive (layout, images, typography)
- ♿ Accessible (as measured by https://web.dev/measure/)
- 🔎 SEO-enabled (as measured by https://web.dev/measure/)
- 🔗 Open Graph tags for social media sharing
- 💅 Prettier setup for both Astro and Tailwind
Commands
| Command | Action |
|---|---|
npm install |
Install dependencies |
npm run dev |
Start local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro --help |
Get help using the Astro CLI |
npm run format |
Format code with Prettier |
npm run clean |
Remove node_modules and build output |
Credits
- astronaut image
- source: https://github.com/withastro/astro-og-image; note: this repo is not available anymore
- moon image
- source: https://unsplash.com/@nasa
- other than that, a lot of material (showcase data, copy) was taken from official Astro sources, in particular https://astro.build/blog/introducing-astro/ and https://github.com/withastro/astro.build
探索相关项目
加载中…