Skip to content

Commit ff6e5fc

Browse files
committed
Initial commit
0 parents  commit ff6e5fc

11 files changed

+6382
-0
lines changed

.gitignore

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
5+
6+
# dependencies
7+
node_modules/
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store

.vscode/extensions.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode"],
3+
"unwantedRecommendations": []
4+
}

.vscode/launch.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
11+
}

README.md

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Astro Starter Kit: Minimal
2+
3+
```sh
4+
npm create astro@latest -- --template minimal
5+
```
6+
7+
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal)
8+
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/minimal)
9+
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/minimal/devcontainer.json)
10+
11+
> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
12+
13+
## 🚀 Project Structure
14+
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
24+
```
25+
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.
27+
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:
35+
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 |
44+
45+
## 👀 Want to learn more?
46+
47+
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).

astro.config.mjs

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { defineConfig } from 'astro/config';
2+
3+
// https://astro.build/config
4+
export default defineConfig({});

0 commit comments

Comments
 (0)