Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergeysova/sova.sh
https://github.com/sergeysova/sova.sh
astrojs sova
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sergeysova/sova.sh
- Owner: sergeysova
- Created: 2019-05-14T22:24:53.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-07-26T20:22:47.000Z (5 months ago)
- Last Synced: 2024-07-26T21:53:59.860Z (5 months ago)
- Topics: astrojs, sova
- Language: Astro
- Homepage: http://sova.sh/
- Size: 21.8 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sova.dev
## 🚀 Project Structure
Inside of your Astro project, you'll see the following folders and files:
```
/
├── public/
│ └── favicon.svg
├── src/
│ ├── components/
│ │ └── Card.astro
│ ├── data/
│ │ └── fetcher.ts
│ ├── layouts/
│ │ └── Layout.astro
│ └── pages/
│ └── index.astro
└── package.json
```Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
Any static assets, like images, can be placed in the `public/` directory.
## 🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :------------------ | :------------------------------------------------- |
| `pnpm install` | Installs dependencies |
| `pnpm dev` | Starts local dev server at `localhost:3000` |
| `pnpm build` | Build your production site to `./dist/` |
| `pnpm preview` | Preview your build locally, before deploying |
| `pnpm astro ...` | Run CLI commands like `astro add`, `astro preview` |
| `pnpm astro --help` | Get help using the Astro CLI |