vite-react-blog-template Tailwind Templates

Vite React Blog Template

Blog template made with Vite, React, Tailwind, and TypeScript. Depends on GitHub Discussions.

🥸 Vite React Blog Template

  • Blog template made with Vite, React, Tailwind, and TypeScript.
  • Blog server depends on GitHub Discussions, see how It works here (TR).
  • See Live Demo here!

🤓 Setup

  • Clone repo:
    • Clone using git: git clone https://github.com/barbarbar338/vite-react-blog-template
    • Clone using gh: gh repo clone barbarbar338/vite-react-blog-template
    • Use template button on GitHub
  • Download dependencies:
    • Using npm: npm install
    • Using yarn: yarn
  • Create .env file and fill it with your GitHub token:
    • Create a GitHub token with read:discussion scope
    • Set your token in .env file: VITE_GITHUB_TOKEN=ghp_MyToken
  • Edit src/utils/config.ts file and fill it with your information.
  • Run app:
    • Using npm: npm run dev
    • Using yarn: yarn dev

Top categories

Loading Svelte Themes