🌲 Ambient sounds for focus and calm.
Find a file
2023-10-29 18:42:20 +03:30
.husky chore: add Commitlint 2023-10-05 16:52:01 +03:30
.vscode chore: add Stylelint 2023-10-05 16:47:45 +03:30
public feat: add more sounds 2023-10-29 15:25:53 +03:30
src refactor: better tooltip 2023-10-29 18:42:20 +03:30
.commitlintrc.json chore: add Commitlint 2023-10-05 16:52:01 +03:30
.czrc chore: add Commitizen 2023-10-05 16:53:21 +03:30
.editorconfig chore: add Editor Config 2023-10-05 16:41:44 +03:30
.eslintignore chore: add ESLint 2023-10-05 16:45:52 +03:30
.eslintrc.json feat: add deep merge to Zustand Persist 2023-10-27 12:49:03 +03:30
.gitignore Initial commit 2023-10-05 16:41:06 +03:30
.lintstagedrc.json feat: add basic categories 2023-10-05 19:42:00 +03:30
.npmrc chore: add npm config 2023-10-05 16:42:09 +03:30
.prettierignore chore: add Prettier 2023-10-05 16:49:16 +03:30
.prettierrc.json chore: add Prettier 2023-10-05 16:49:16 +03:30
.stylelintignore chore: add Stylelint 2023-10-05 16:47:45 +03:30
.stylelintrc.json chore: add Stylelint 2023-10-05 16:47:45 +03:30
.versionrc.json chore: add Standard Version 2023-10-05 16:54:16 +03:30
astro.config.mjs Initial commit 2023-10-05 16:41:06 +03:30
CHANGELOG.md chore(release): 0.0.1 2023-10-05 16:56:50 +03:30
LICENSE Initial commit 2023-10-05 16:41:06 +03:30
package-lock.json feat: add deep merge to Zustand Persist 2023-10-27 12:49:03 +03:30
package.json feat: add deep merge to Zustand Persist 2023-10-27 12:49:03 +03:30
postcss.config.cjs chore: add PostCSS 2023-10-05 16:56:30 +03:30
README.md Initial commit 2023-10-05 16:41:06 +03:30
tsconfig.json chore: add path alias 2023-10-05 16:55:55 +03:30

Astro Starter Kit: Basics

npm create astro@latest -- --template basics

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

🧑‍🚀 Seasoned astronaut? Delete this file. Have fun!

just-the-basics

🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
├── public/
│   └── favicon.svg
├── src/
│   ├── components/
│   │   └── Card.astro
│   ├── 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
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

👀 Want to learn more?

Feel free to check our documentation or jump into our Discord server.