Plantilla para sitio web vitrina virtual
Inside of your Astro project, you'll see the following folders and files:
/
├── CHANGELOG.MD
├── README.md
├── assets
│ ├── css
│ │ ├── input.css
│ │ └── material-tailwind.css
│ ├── js
│ │ └── astro-showcase.min.js
│ └── scss
│ └── loading-dot.css
├── astro.config.mjs
├── hooks/
├── package.json
├── public/
├── src
│ ├── components/
│ ├── env.d.ts
│ ├── layouts
│ │ └── Layout.astro
│ ├── pages/
│ │ ├── 404.astro
│ │ ├── about.astro
│ │ ├── index.astro
│ │ ├── landing.astro
│ │ ├── login.astro
│ │ ├── signup.astro
│ │ ├── store.astro
│ │ ├── product.astro
│ │ ├── shopping-cart.astro
│ │ ├── all-components.astro
├── tailwind.config.js
└── tsconfig.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.
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
bun install |
Installs dependencies |
bun run dev |
Starts local dev server at localhost:3000 |
bun run build |
Build your production site to ./dist/ |
bun run preview |
Preview your build locally, before deploying |
bun run astro ... |
Run CLI commands like astro add , astro preview |
bun run astro --help |
Get help using the Astro CLI |
Facebook: https://www.facebook.com/profile.php?id=100089606313657
Instagram: https://instagram.com/nexa_soft