Skip to content

Repository files navigation

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR.

Currently, two official plugins are available:

Additional Configured Packages

Biome

Uses Biome as the configued linter and formatter. It is faster than prettier and has better hints for linting than ESLint. Biome

The configuration file is Biome.json

SASS

Uses Sass Modules for CSS styling. This helps with global CSS variables and some other nifty options. The global variables are declared in file

This file must be added to the ViteConfig like this:

    import { defineConfig } from 'vite';
    import react from '@vitejs/plugin-react';

    export default defineConfig({
    plugins: [react()],
    css: {
        preprocessorOptions: {
        scss: {
            additionalData: `@import "./src/styles/variables.scss";`
        }
        }
    }
    });

Radix Colors

Uses Radix color themes to make it easier and simpler to reuse good color throughout the project. The Radix color are imported into the index.css for global use

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages