# Astro Starter Kit: Basics
```sh
npm create astro@latest -- --template basics
```
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json)
> ð§âð **Seasoned astronaut?** Delete this file. Have fun!
![just-the-basics](https://github.com/withastro/astro/assets/2244813/a0a5533c-a856-4198-8470-2d67b1d7c554)
## ð Project Structure
Inside of your Astro project, you'll see the following folders and files:
```text
/
âââ public/
â âââ favicon.svg
âââ src/
â âââ 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 |
## ð Want to learn more?
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).
没有合适的资源?快使用搜索试试~ 我知道了~
《AI大模型》--AI大模型探索1.zip
共492个文件
vue:166个
svelte:132个
js:51个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 72 浏览量
2024-03-22
16:24:18
上传
评论
收藏 1.79MB ZIP 举报
温馨提示
人工智能学习总结成果,希望可以帮到大家,有疑问欢迎随时沟通~ 人工智能学习总结成果,希望可以帮到大家,有疑问欢迎随时沟通~ 人工智能学习总结成果,希望可以帮到大家,有疑问欢迎随时沟通~ 人工智能学习总结成果,希望可以帮到大家,有疑问欢迎随时沟通~ 人工智能学习总结成果,希望可以帮到大家,有疑问欢迎随时沟通~
资源推荐
资源详情
资源评论
收起资源包目录
《AI大模型》--AI大模型探索1.zip (492个子文件)
index.astro 9KB
ImgAndText.astro 1KB
Layout.astro 978B
build-task 10B
.eslintrc.cjs 556B
postcss.config.cjs 323B
index.css 2KB
index.css 2KB
.DS_Store 6KB
.gitignore 2KB
index.html 349B
index.html 347B
app.html 336B
logo.jpg 16KB
logo.jpg 16KB
use-toast.js 3KB
tailwind.config.js 3KB
use-toast.js 2KB
tailwind.config.js 2KB
tailwind.config.js 2KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 986B
index.js 898B
index.js 897B
index.js 792B
index.js 707B
svelte.config.js 704B
index.js 648B
index.js 629B
index.js 560B
index.js 550B
index.js 494B
index.js 478B
index.js 450B
index.js 346B
index.js 260B
index.js 252B
vite.config.js 240B
vite.config.js 233B
index.js 220B
index.js 208B
index.js 196B
index.js 184B
vite.config.js 144B
utils.js 138B
utils.js 135B
index.js 124B
index.js 114B
postcss.config.js 112B
main.js 111B
postcss.config.js 80B
index.js 60B
index.js 56B
index.js 54B
index.js 54B
index.js 54B
index.js 54B
index.js 54B
index.js 50B
index.js 50B
index.js 48B
index.js 48B
+layout.js 25B
package.json 2KB
package.json 751B
package.json 684B
package.json 338B
components.json 323B
components.json 287B
components.json 270B
jsconfig.json 97B
tsconfig.json 97B
tsconfig.json 41B
menubar.jsx 6KB
dropdown-menu.jsx 6KB
context-menu.jsx 6KB
carousel.jsx 5KB
select.jsx 5KB
navigation-menu.jsx 4KB
toast.jsx 4KB
command.jsx 4KB
sheet.jsx 3KB
alert-dialog.jsx 3KB
dialog.jsx 3KB
calendar.jsx 2KB
drawer.jsx 2KB
pagination.jsx 2KB
table.jsx 2KB
App.jsx 2KB
button.jsx 2KB
accordion.jsx 2KB
resizable.jsx 2KB
tabs.jsx 1KB
card.jsx 1KB
scroll-area.jsx 1KB
alert.jsx 1KB
toggle-group.jsx 1KB
共 492 条
- 1
- 2
- 3
- 4
- 5
资源评论
季风泯灭的季节
- 粉丝: 599
- 资源: 2921
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功