A static site for viewing the wiki https://docs.auxolotl.org
Go to file
2024-05-25 11:13:20 -04:00
.vscode feat: Add project configuration 2024-05-17 00:03:19 +00:00
nix fix: Remove garbage "hash-source" path from content 2024-05-17 16:35:28 -04:00
public feat: Initial code commit 2024-05-17 00:07:33 +00:00
src chore: format [...slug].astro 2024-05-25 11:13:20 -04:00
.envrc feat: Add project configuration 2024-05-17 00:03:19 +00:00
.gitignore feat: Add project configuration 2024-05-17 00:03:19 +00:00
.gitmodules feat: Add project configuration 2024-05-17 00:03:19 +00:00
astro.config.mjs feat: Add astro config 2024-05-17 00:05:57 +00:00
flake.lock chore: bump wiki content 2024-05-25 11:13:20 -04:00
flake.nix feat: Add nix package 2024-05-17 00:59:16 +00:00
package-lock.json feat: Add nix package 2024-05-17 00:59:16 +00:00
package.json feat: Add project configuration 2024-05-17 00:03:19 +00:00
README.md feat: Add project configuration 2024-05-17 00:03:19 +00:00
tsconfig.json feat: Add project configuration 2024-05-17 00:03:19 +00:00

Astro Starter Kit: Minimal

npm create astro@latest -- --template minimal

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

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

🚀 Project Structure

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

/
├── public/
├── src/
│   └── 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.