No description
This repository has been archived on 2025-04-09. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2024-08-08 23:00:47 +03:00
config Try custom nginx config 2024-04-05 23:49:43 +03:00
public updated missing image 2024-08-08 23:00:47 +03:00
src wc-2a rotation added 2024-05-28 11:37:34 +03:00
.eslintrc.cjs init 2024-03-28 10:32:48 +02:00
.gitattributes init 2024-03-28 10:32:48 +02:00
.gitignore Added basic router 2024-04-05 10:31:28 +03:00
.prettierrc Added basic router 2024-04-05 10:31:28 +03:00
docker-compose.yml Fixed typings and added dockerfile 2024-03-28 11:39:53 +02:00
Dockerfile Revert "Not needed?" 2024-04-05 23:50:49 +03:00
index.html UI 2024-04-09 00:29:29 +03:00
package.json Working url path example 2024-04-05 22:45:39 +03:00
README.md init 2024-03-28 10:32:48 +02:00
tsconfig.json test 2024-03-29 23:22:10 +02:00
tsconfig.node.json test 2024-03-29 23:22:10 +02:00
vite.config.ts Added basic router 2024-04-05 10:31:28 +03:00
yarn.lock Working url path example 2024-04-05 22:45:39 +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 {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
  },
}
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list