Our webapp's frontend
Find a file
csawatzky 38e0bcb33c added notification drawer to the header
for the moment commented out the code to get the component icons and am just displaying the device icons until the component stuff is added to the new frontend
2025-01-20 14:58:36 -06:00
.vscode added vscode settings to make tabs smaller by default 2024-11-13 10:59:51 -06:00
public switched to vite instead of create-react-app to stayed updated in packages 2024-10-21 14:32:25 -06:00
src added notification drawer to the header 2025-01-20 14:58:36 -06:00
.env Now loading user in a wrapper for the app, added loading screen 2024-10-29 11:13:51 -06:00
.gitignore folderized app files 2024-10-21 15:21:22 -06:00
.gitlab-ci.yml temporarily disabled test 2024-10-21 15:08:48 -06:00
docker-compose.dev.yml added dns 2024-10-30 14:21:52 -06:00
Dockerfile added Dockerfile 2024-10-09 14:37:39 -06:00
eslint.config.js switched to vite instead of create-react-app to stayed updated in packages 2024-10-21 14:32:25 -06:00
index.html folderized app files 2024-10-21 15:21:22 -06:00
nginx.conf added nginx.conf 2024-10-09 14:42:22 -06:00
package-lock.json committing all group related code 2025-01-07 10:34:18 -06:00
package.json committing all group related code 2025-01-07 10:34:18 -06:00
README.md switched to vite instead of create-react-app to stayed updated in packages 2024-10-21 14:32:25 -06:00
tsconfig.app.json committing all group related code 2025-01-07 10:34:18 -06:00
tsconfig.json updated config so to import from src folders easier 2024-11-14 13:53:24 -06:00
tsconfig.node.json added ts config so that it could compile using absolute paths without error 2024-11-14 15:27:54 -06:00
vite.config.ts added ts config so that it could compile using absolute paths without error 2024-11-14 15:27:54 -06: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,
  },
})