|
1 |
| -# Astro Starter Kit: Basics |
| 1 | +# Lambda Blog |
2 | 2 |
|
3 |
| -```sh |
4 |
| -yarn create astro@latest -- --template basics |
5 |
| -``` |
| 3 | +## δ»η» |
6 | 4 |
|
7 |
| -[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics) |
8 |
| -[](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics) |
9 |
| -[](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json) |
10 |
| - |
11 |
| -> π§βπ **Seasoned astronaut?** Delete this file. Have fun! |
12 |
| -
|
13 |
| - |
14 |
| - |
15 |
| -## π Project Structure |
16 |
| - |
17 |
| -Inside of your Astro project, you'll see the following folders and files: |
18 |
| - |
19 |
| -```text |
20 |
| -/ |
21 |
| -βββ public/ |
22 |
| -β βββ favicon.svg |
23 |
| -βββ src/ |
24 |
| -β βββ layouts/ |
25 |
| -β β βββ Layout.astro |
26 |
| -β βββ pages/ |
27 |
| -β βββ index.astro |
28 |
| -βββ package.json |
29 |
| -``` |
30 |
| - |
31 |
| -To learn more about the folder structure of an Astro project, refer to [our guide on project structure](https://docs.astro.build/en/basics/project-structure/). |
32 |
| - |
33 |
| -## π§ Commands |
34 |
| - |
35 |
| -All commands are run from the root of the project, from a terminal: |
36 |
| - |
37 |
| -| Command | Action | |
38 |
| -| :------------------------ | :----------------------------------------------- | |
39 |
| -| `yarn install` | Installs dependencies | |
40 |
| -| `yarn dev` | Starts local dev server at `localhost:4321` | |
41 |
| -| `yarn build` | Build your production site to `./dist/` | |
42 |
| -| `yarn preview` | Preview your build locally, before deploying | |
43 |
| -| `yarn astro ...` | Run CLI commands like `astro add`, `astro check` | |
44 |
| -| `yarn astro -- --help` | Get help using the Astro CLI | |
45 |
| - |
46 |
| -## π Want to learn more? |
47 |
| - |
48 |
| -Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). |
| 5 | +ζηε°η«οΌδ½Ώη¨astroηΌεοΌδ»ε¨εΌεδΈβ¦β¦ |
0 commit comments