Skip to content
/ web-app Public template

Template for a React + Vite + Tailwind project

Notifications You must be signed in to change notification settings

TechDetech/web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a63900c · Jun 26, 2024

History

12 Commits
May 13, 2024
May 13, 2024
May 23, 2024
May 23, 2024
May 13, 2024
May 13, 2024
Jun 26, 2024
May 12, 2024
May 23, 2024
May 13, 2024
May 23, 2024
May 12, 2024
May 23, 2024
May 12, 2024
May 12, 2024
May 23, 2024
May 23, 2024

Repository files navigation

React + TypeScript + Vite

TechDetech App Screenshot

Recommended tools to build this template:

This template has the minimal and recommended setup to use:

Also it has configuration to:

  • be a Progressive Web App via the Vite PWA plugin
  • format at push with prettier and Github Actions

Added dependencies:

Instructions

# For development
yarn --version # It must be `4.2.2`
yarn install # It will use Yarn's PNP
yarn run dev --host

Configure IDE integration

Read the instructions for Yarn Berry

Add Fonts

  1. Add the font description
// vite.config.ts
export default defineConfig({
  plugins: [
    // other plugins ...
    Unfonts({
      google: {
        families: [
          {
            name: 'Audiowide',
            styles: 'wght@400'
          }
        ]
      }
    })
  ]
})
  1. Extend the Tailwind theme
// tailwind.config.js
export default {
  // other configs ...
  theme: {
    extend: {
      fontFamily: {
        audiowide: ['Audiowide', 'sans-serif']
      }
    }
  }
}