Skip to content

iriscompanyio/astro-iris

 
 

Repository files navigation

Welcome to Astro

Open in StackBlitz

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

basics

🚀 Requirements

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

Node^16 LTS
npm or yarn package manager

🚀 Project Structure

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

/
├── public/
│   └── logo.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 to Run Project

All commands are run from the root of the project, from a terminal:

Command Action
yarn install Installs dependencies
yarn dev Starts local dev server at localhost:3000
yarn build Build your production site to ./dist/

👀 Want to learn more?

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

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 66.0%
  • Astro 29.4%
  • JavaScript 3.6%
  • Other 1.0%