https://github.com/thomasbnt/recipes-unnamed-project
๐๐๐ฅ๐ณ๐ฅ๐ฅ๐ฅจ๐ฅ๐ฅช๐ฏ๐ฎ๐ฑ๐ฃ๐ซ๐จ๐ฐ๐ต
https://github.com/thomasbnt/recipes-unnamed-project
Last synced: 3 months ago
JSON representation
๐๐๐ฅ๐ณ๐ฅ๐ฅ๐ฅจ๐ฅ๐ฅช๐ฏ๐ฎ๐ฑ๐ฃ๐ซ๐จ๐ฐ๐ต
- Host: GitHub
- URL: https://github.com/thomasbnt/recipes-unnamed-project
- Owner: thomasbnt
- License: gpl-3.0
- Created: 2025-02-20T12:37:41.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-22T16:14:22.000Z (3 months ago)
- Last Synced: 2025-02-22T16:27:23.957Z (3 months ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Starlight Starter Kit: Basics
[](https://starlight.astro.build)
```
npm create astro@latest -- --template starlight
```[](https://stackblitz.com/github/withastro/starlight/tree/main/examples/basics)
[](https://codesandbox.io/p/sandbox/github/withastro/starlight/tree/main/examples/basics)
[](https://app.netlify.com/start/deploy?repository=https://github.com/withastro/starlight&create_from_path=examples/basics)
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fwithastro%2Fstarlight%2Ftree%2Fmain%2Fexamples%2Fbasics&project-name=my-starlight-docs&repository-name=my-starlight-docs)> ๐งโ๐ **Seasoned astronaut?** Delete this file. Have fun!
## ๐ Project Structure
Inside of your Astro + Starlight project, you'll see the following folders and files:
```
.
โโโ public/
โโโ src/
โ โโโ assets/
โ โโโ content/
โ โ โโโ docs/
โ โโโ content.config.ts
โโโ astro.config.mjs
โโโ package.json
โโโ tsconfig.json
```Starlight looks for `.md` or `.mdx` files in the `src/content/docs/` directory. Each file is exposed as a route based on its file name.
Images can be added to `src/assets/` and embedded in Markdown with a relative link.
Static assets, like favicons, 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?
Check out [Starlightโs docs](https://starlight.astro.build/), read [the Astro documentation](https://docs.astro.build), or jump into the [Astro Discord server](https://astro.build/chat).