No description
  • TypeScript 68.3%
  • CSS 27%
  • JavaScript 3.6%
  • HTML 0.7%
  • Dockerfile 0.4%
Find a file
2024-11-10 13:39:25 +03:00
public init 2024-11-09 10:39:07 +03:00
src working version + localisation 2024-11-10 13:39:25 +03:00
.dockerignore add ci 2024-11-09 14:03:40 +03:00
.gitignore init 2024-11-09 10:39:07 +03:00
.gitlab-ci.yml fix CI asap 2024-11-09 19:29:13 +03:00
Caddyfile update docker 2024-11-09 16:03:54 +03:00
components.json main page + tailwind 2024-11-09 15:36:37 +03:00
Dockerfile update docker 2024-11-09 16:03:54 +03:00
eslint.config.js init 2024-11-09 10:39:07 +03:00
index.html fixed tailwind 2024-11-10 00:44:35 +03:00
package-lock.json added cheque list 2024-11-10 03:40:55 +03:00
package.json added local check saving 2024-11-10 12:15:13 +03:00
pnpm-lock.yaml added local check saving 2024-11-10 12:15:13 +03:00
postcss.config.js main page + tailwind 2024-11-09 15:36:37 +03:00
README.md init 2024-11-09 10:39:07 +03:00
tailwind.config.js fixed tailwind 2024-11-10 00:44:35 +03:00
tsconfig.app.json fixed tailwind 2024-11-10 00:44:35 +03:00
tsconfig.json fixed tailwind 2024-11-10 00:44:35 +03:00
tsconfig.node.json init 2024-11-09 10:39:07 +03:00
vite.config.ts fixed tailwind 2024-11-10 00:44:35 +03:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default tseslint.config({
  languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
  },
})
  • Replace tseslint.configs.recommended to tseslint.configs.recommendedTypeChecked or tseslint.configs.strictTypeChecked
  • Optionally add ...tseslint.configs.stylisticTypeChecked
  • Install eslint-plugin-react and update the config:
// eslint.config.js
import react from 'eslint-plugin-react'

export default tseslint.config({
  // Set the react version
  settings: { react: { version: '18.3' } },
  plugins: {
    // Add the react plugin
    react,
  },
  rules: {
    // other rules...
    // Enable its recommended rules
    ...react.configs.recommended.rules,
    ...react.configs['jsx-runtime'].rules,
  },
})