Skip to content

Commit d1cb539

Browse files
committed
initial commit
0 parents  commit d1cb539

File tree

14 files changed

+10900
-0
lines changed

14 files changed

+10900
-0
lines changed

.gitignore

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

.vscode/extensions.json

Lines changed: 4 additions & 0 deletions
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

Lines changed: 11 additions & 0 deletions
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

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Welcome to [Astro](https://astro.build)
2+
3+
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics)
4+
5+
> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
6+
7+
![basics](https://user-images.githubusercontent.com/4677417/186188965-73453154-fdec-4d6b-9c34-cb35c248ae5b.png)
8+
9+
10+
## 🚀 Project Structure
11+
12+
Inside of your Astro project, you'll see the following folders and files:
13+
14+
```
15+
/
16+
├── public/
17+
│ └── favicon.svg
18+
├── src/
19+
│ ├── components/
20+
│ │ └── Card.astro
21+
│ ├── layouts/
22+
│ │ └── Layout.astro
23+
│ └── pages/
24+
│ └── index.astro
25+
└── package.json
26+
```
27+
28+
Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
29+
30+
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
31+
32+
Any static assets, like images, can be placed in the `public/` directory.
33+
34+
## 🧞 Commands
35+
36+
All commands are run from the root of the project, from a terminal:
37+
38+
| Command | Action |
39+
| :--------------------- | :------------------------------------------------- |
40+
| `npm install` | Installs dependencies |
41+
| `npm run dev` | Starts local dev server at `localhost:3000` |
42+
| `npm run build` | Build your production site to `./dist/` |
43+
| `npm run preview` | Preview your build locally, before deploying |
44+
| `npm run astro ...` | Run CLI commands like `astro add`, `astro preview` |
45+
| `npm run astro --help` | Get help using the Astro CLI |
46+
47+
## 👀 Want to learn more?
48+
49+
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).

astro.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { defineConfig } from "astro/config";
2+
import netlify from "@astrojs/netlify/functions";
3+
4+
// https://astro.build/config
5+
import tailwind from "@astrojs/tailwind";
6+
7+
// https://astro.build/config
8+
export default defineConfig({
9+
adapter: netlify(),
10+
integrations: [tailwind()],
11+
});

0 commit comments

Comments
 (0)