基于 Astro 的模板,使用 npm create astro 命令初始化
naid — Astro 启动器模板
作者 studiolumina
NAID 是一个基于 Astro 的网站模板,提供基础项目结构、示例组件与布局,以及本地开发、构建和预览命令。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
包含 src/pages、src/components、src/layouts、src/content 和 public 目录结构
提供示例组件 Card.astro 和布局 Layout.astro
通过 src/pages 下的 .astro 或 .md 文件自动生成路由
提供 npm run dev、build、preview 等本地开发与构建命令
模板详细介绍
NAID 是一个 Astro 网站模板,README 将其定位为面向实践者的模板。项目结构包含 public/ 静态资源目录、src/content/ 内容目录、src/components/ 组件目录(含示例 Card.astro)、src/layouts/ 布局目录(含 Layout.astro)以及 src/pages/ 页面目录(含 index.astro)。Astro 会根据 src/pages/ 下的 .astro 或 .md 文件自动生成路由,静态资源可放在 public/ 目录。README 列出了安装依赖、启动本地开发服务器、构建生产站点、本地预览构建结果以及运行 Astro CLI 命令的 npm 脚本。README 的 Coming Soon 部分列出了暗色模式、区块变体、更多颜色等尚未完成的事项,说明这些功能在当前版本中并未提供。README 未说明模板的具体设计用途、页面数量、内容集合配置或部署方式。
适合你的项目吗?
适用场景
- 使用 Astro 搭建静态网站或博客的基础项目
- 在本地启动开发服务器预览页面效果
- 构建生产站点并输出到 dist 目录
- 通过 Astro CLI 添加集成或运行检查命令
适合人群
- 希望以 Astro 为起点创建静态站点的开发者
- 需要现成目录结构和示例组件来组织页面的用户
- 习惯使用 npm 脚本进行本地开发和构建的开发者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
使用 npm create astro@latest -- --template studiolumina/naid 创建项目
- 2
在项目根目录运行 npm install 安装依赖
- 3
运行 npm run dev 启动本地开发服务器,默认地址为 localhost:4321
- 4
运行 npm run build 构建生产站点到 ./dist/ 目录
- 5
运行 npm run preview 在部署前本地预览构建结果
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
https://github.com/studiolumina/naid/blob/main/LICENSEhttps://github.com/studiolumina/naid/blob/main/README.mdPermission is hereby granted, free of charge
许可证原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-05。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- Astro Themes
- 资料与维护参考分
- 资料较完整 · 81 / 100
- 技术栈
- Astro
- 网站类型
- 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2024-12-13
- 截图检查日期
- 2026-10-05
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Astro。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: codex-user-requested-batch-review-20261017 · 2026-10-16
查看当时使用的来源资料
SHA-256: 1297b2f1cc2d1dcc43734e7e3e5ec95f1b2bbdd830e0ed2a996f5fd43089f1ad
2026-10-05T17:34:40.908Z
来源文件 / 仓库# `NAID` - A template for doers ```sh npm create astro@latest -- --template studiolumina/naid ``` > 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun! ## 🚀 Project Structure Inside of your Astro project, you'll see the following folders and files: ```text / ├── public/ │ └── favicon.svg ├── src/ | ├── content/ │ ├── components/ │ │ └── Card.astro │ ├── layouts/ │ │ └── Layout.astro │ └── pages/ │ └── index.astro └── package.json ``` Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. Any static assets, like images, can be placed in the `public/` directory. ## 🧞 Commands All commands are run from the root of the project, from a terminal: | Command | Action | | :------------------------ | :----------------------------------------------- | | `npm install` | Installs dependencies | | `npm run dev` | Starts 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 | ## Coming Soon - [ ] Dark Mode - [ ] Section Variants - [ ] More Colors - [ ] Other stuff?
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

astrowind
⭕️ AstroWind: A free template using Astro v7 and Tailwind CSS v4. Astro starter theme.
Astro · 博客
accessible-astro-starter
Accessible Astro Starter 是一个以无障碍为核心理念的 Astro 6 启动模板,由 incluud 团队维护。
Astro · 博客

astro-erudite
An opinionated, unstyled static blogging template built with Astro and native CSS.
Astro · 作品集

astro-shopify
astro-shopify 是一个面向开发者的轻量级电商启动模板,用于构建基于 Shopify 的无头店面。
Astro · 电商

brutal
A neobrutalism Astro starter theme
Astro · 启动器

foxi-astro-theme
Foxi is an Astro theme crafted with Tailwind CSS, designed for blazing-fast performance and seamless user expe…
Astro · 博客
