ChristineTham / astro-flowbite

Base template for Astro+Flowbite projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Astro Flowbite

Minimal Astro starter for new projects. MIT licence.

Uses:

πŸš€ Project Structure

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

/
β”œβ”€β”€ astro.config.mjs          # Astro configuration file 
β”œβ”€β”€ public/                   # Location of static assets
β”‚   └── favicon.svg
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/               # Location of dynamic assets (eg. images)
β”‚   β”‚   └── screenshot.png
β”‚   β”œβ”€β”€ components/           # Astro components
β”‚   β”‚   └── header.astro
β”‚   β”œβ”€β”€ content/              # Location of content (markdown, data and images)
β”‚   β”‚   └── config.ts
β”‚   β”œβ”€β”€ layouts/              # Location of layouts for pages
β”‚   β”‚   └── Layout.astro
β”‚   └── pages/                # Location of pages
β”‚       └── index.astro
β”œβ”€β”€ package.json
└── tailwind.config.mjs       # TailwindCSS configuration file

🧞 Commands

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

Command Action
pnpm install Installs dependencies
pnpm run dev Starts local dev server at localhost:3000
pnpm run build Build your production site to ./dist/
pnpm run preview Preview your build locally, before deploying
pnpm run astro ... Run CLI commands like astro add, astro check
pnpm run astro -- --help Get help using the Astro CLI

About

Base template for Astro+Flowbite projects

License:MIT License


Languages

Language:Astro 89.4%Language:JavaScript 8.0%Language:TypeScript 2.6%