Go to file
2024-08-04 12:28:34 +01:00
public Initial Commit 2024-07-29 00:48:38 +01:00
src Update to follow new package source versioning 2024-08-04 12:28:34 +01:00
.eslintrc.cjs Initial Commit 2024-07-29 00:48:38 +01:00
.gitignore Initial Commit 2024-07-29 00:48:38 +01:00
components.json Pika Theme 2024-07-29 15:17:52 +01:00
index.html Initial Commit 2024-07-29 00:48:38 +01:00
package-lock.json Add errored page, make menu a burger menu for space 2024-07-30 20:34:42 +01:00
package.json Add errored page, make menu a burger menu for space 2024-07-30 20:34:42 +01:00
postcss.config.js Initial Commit 2024-07-29 00:48:38 +01:00
README.md Initial Commit 2024-07-29 00:48:38 +01:00
tailwind.config.js Initial Commit 2024-07-29 00:48:38 +01:00
tsconfig.app.json Initial Commit 2024-07-29 00:48:38 +01:00
tsconfig.json Initial Commit 2024-07-29 00:48:38 +01:00
tsconfig.node.json Initial Commit 2024-07-29 00:48:38 +01:00
vite.config.ts Initial Commit 2024-07-29 00:48:38 +01: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', './tsconfig.app.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