Skip to content
프로젝트

ixartz/Astro-boilerplate

GitHub에서 보기

소개

🚀 TypeScript와 React를 사용하고 Tailwind CSS로 스타일을 적용한 반응형 블로그 및 포트폴리오 템플릿을 제공하는 Astro 보일러플레이트 ⚡️ 개발자 경험을 최우선으로 구성: TypeScript + ESLint + Prettier + Husky + Lint-Staged + Commitlint + VSCode

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

  • 🎈 Syntax Highlighting
  • 🤖 SEO friendly with sitemap.xml and robots.txt
  • 🌈 Include a dark blog theme
  • 📦 Image lazy loading

측정된 스타 증가

in 24h
0
in 7 days
-2
in 15 days
-2
in 1 month
업데이트 지연

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Astro Boilerplate with TypeScript and Tailwind CSS Twitter

🚀 Astro Boilerplate is starter code for your blog or portfolio based on Astro with Tailwind CSS 3.0. ⚡️ Made with Astro, TypeScript, ESLint, Prettier, Tailwind CSS.

Clone this project and use it to create your own Astro blog. You can check the Astro templates demo.

Sponsors

Clerk – Authentication & User Management for Next.js CodeRabbit Sentry Codecov
Arcjet Crowdin Next.js SaaS Boilerplate with React
Add your logo here

Features

A complete Blog feature:

  • 🎈 Syntax Highlighting
  • 🤖 SEO friendly with sitemap.xml and robots.txt
  • ⚙️ RSS feed
  • 📖 Pagination
  • 🌈 Include a dark blog theme
  • ⬇️ Markdown
  • 📦 Image lazy loading
  • 💎 Responsive design

Developer experience first:

  • 🔥 Astro
  • 🎨 Tailwind CSS with aspect ratio and typography plugin
  • 🎉 TypeScript
  • ✏️ ESLint compatible with .astro files
  • 🛠 Prettier compatible with .astro files
  • 🦊 Husky
  • 🚫 lint-staged
  • 🚨 Commitlint
  • 🔧 One-click deploy on Netlify (or, manual if you prefer)

ESLint with:

  • Airbnb styled guide
  • TypeScript compatible
  • Astro compatible
  • Automatically remove unused imports
  • Import sorting
  • Tailwind CSS plugin

Philosophy

  • Minimal code
  • SEO-friendly
  • 🚀 Production-ready

Requirements

  • Node.js and npm

Optional

While Astro-boilerplate should work with the latest Node version, it has been tested with the versions in .nvmrc & the bottom of package.json. At current writing, that's Node v16.15.1

Getting started

Run the following command on your local environment (for example, in Warp):

git clone --depth=1 https://github.com/ixartz/Astro-boilerplate
cd my-project-name
npm install

Then, you can run locally in development mode with live reload:

npm run dev

Open http://localhost:4321 with your favorite browser to see your project.

Deploy to production (manual)

You can create an optimized production build with:

npm run build

Now, your blog is ready to be deployed. All generated files are located at dist folder, which you can deploy the folder to any hosting service you prefer.

Deploy to Netlify

Clone this repository on own GitHub account and deploy to Netlify:

Netlify Deploy button

🧞 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 clean Remove ./dist folder
npm run lint Run ESLint and report styling error

Contributions

Everyone is welcome to contribute to this project. Feel free to open an issue if you have question or found a bug.

Additional Checks

This README.md was linted with markdownlint

License

Licensed under the MIT License, Copyright © 2024

Sponsors

Clerk – Authentication & User Management for Next.js CodeRabbit Sentry Codecov
Arcjet Crowdin Next.js SaaS Boilerplate with React
Add your logo here

Made with ♥ by CreativeDesignsGuru Twitter

Sponsor Next JS Boilerplate

관련 프로젝트 살펴보기

불러오는 중…