|
1 | | -# Astro Starter Kit: Minimal |
| 1 | +# cb341.dev |
2 | 2 |
|
3 | | -```sh |
4 | | -npm create astro@latest -- --template minimal |
5 | | -``` |
6 | | - |
7 | | -[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal) |
8 | | -[](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/minimal) |
9 | | -[](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/minimal/devcontainer.json) |
| 3 | + |
10 | 4 |
|
11 | | -> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun! |
| 5 | +Personal portfolio and blog built with Astro. |
12 | 6 |
|
13 | | -## 🚀 Project Structure |
| 7 | +## Setup |
14 | 8 |
|
15 | | -Inside of your Astro project, you'll see the following folders and files: |
16 | | - |
17 | | -```text |
18 | | -/ |
19 | | -├── public/ |
20 | | -├── src/ |
21 | | -│ └── pages/ |
22 | | -│ └── index.astro |
23 | | -└── package.json |
| 9 | +```sh |
| 10 | +npm install |
24 | 11 | ``` |
25 | 12 |
|
26 | | -Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. |
| 13 | +## Run |
27 | 14 |
|
28 | | -There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. |
29 | | - |
30 | | -Any static assets, like images, can be placed in the `public/` directory. |
31 | | - |
32 | | -## 🧞 Commands |
33 | | - |
34 | | -All commands are run from the root of the project, from a terminal: |
| 15 | +```sh |
| 16 | +npm run dev |
| 17 | +``` |
35 | 18 |
|
36 | | -| Command | Action | |
37 | | -| :------------------------ | :----------------------------------------------- | |
38 | | -| `npm install` | Installs dependencies | |
39 | | -| `npm run dev` | Starts local dev server at `localhost:4321` | |
40 | | -| `npm run build` | Build your production site to `./dist/` | |
41 | | -| `npm run preview` | Preview your build locally, before deploying | |
42 | | -| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | |
43 | | -| `npm run astro -- --help` | Get help using the Astro CLI | |
| 19 | +Visit `localhost:4321` to view the site. |
44 | 20 |
|
45 | | -## 👀 Want to learn more? |
| 21 | +## License |
46 | 22 |
|
47 | | -Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). |
| 23 | +CC-BY-4.0 |
0 commit comments