Skip to content

xkeshav/astro-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Template to Start Astro + React

This is a codebase for to Start Project in Astro + React .

The template contain

  • Shadcn for component
  • tailwind for styling
  • Zustand for state management
  • TypeScript for type safety
  • Zod for form type safe form validation

How To Start

pre-requisite

  • Node v 18 or higher
  • open vscode and open startup.vscode-workspace file

🚀 Project Structure

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

.
├── astro.config.mjs
├── astro-i18next.config.mjs
├── CHANGELOG.MD
├── components.json
├── docs
│   ├── README.md
│   └── state-management.md
├── jsconfig.json
├── LICENSE
├── package.json
├── package-lock.json
├── postcss.config.js
├── public
│   ├── 192x192.png
│   ├── 512x512.png
│   ├── android-chrome-192x192.png
│   ├── android-chrome-512x512.png
│   ├── apple-touch-icon.png
│   ├── favicon.svg
│   ├── logo-white.svg
│   ├── manifest.webmanifest
│   ├── profile-placeholder.jpg
│   ├── robots.txt
│   ├── sitemap-index.html
├── README.md
├── src
│   ├── assets
│   ├── components
│   ├── content
│   ├── env.d.ts
│   ├── hooks
│   ├── icons
│   ├── layouts
│   ├── libs
│   ├── locales
│   ├── mocks
│   ├── models
│   ├── pages
│   ├── postcss.config.cjs
│   ├── site.config.ts
│   ├── types.ts
│   └── utils
├── tailwind.config.ts
├── todo.md
├── tsconfig.eslint.json
├── tsconfig.json
└── tz-client.code-workspace

and src

Installation

npm install

Development

To start the development server, run:

npm run dev

The server will start on http://localhost:4321.

Deployment

run in local

npm run lint
npm run build

and then check with

npm run preview

About

Astro Boiler plate

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

  •