IP/2_lab/testBootstrap_main
2023-10-24 11:06:11 +04:00
..
js 2 laba 2023-10-24 11:06:11 +04:00
public 2 laba 2023-10-24 11:06:11 +04:00
src 2 laba 2023-10-24 11:06:11 +04:00
.eslintrc.cjs 2 laba 2023-10-24 11:06:11 +04:00
.gitignore 2 laba 2023-10-24 11:06:11 +04:00
00 2 laba 2023-10-24 11:06:11 +04:00
app.js 2 laba 2023-10-24 11:06:11 +04:00
banner.css 2 laba 2023-10-24 11:06:11 +04:00
banner.js 2 laba 2023-10-24 11:06:11 +04:00
books.json 2 laba 2023-10-24 11:06:11 +04:00
data.json 2 laba 2023-10-24 11:06:11 +04:00
fontello.css 2 laba 2023-10-24 11:06:11 +04:00
index.html 2 laba 2023-10-24 11:06:11 +04:00
package-lock.json 2 laba 2023-10-24 11:06:11 +04:00
package.json 2 laba 2023-10-24 11:06:11 +04:00
pageAboutUs.html 2 laba 2023-10-24 11:06:11 +04:00
pageAdmin.html 2 laba 2023-10-24 11:06:11 +04:00
pageBasket.html 2 laba 2023-10-24 11:06:11 +04:00
pageCatalog.html 2 laba 2023-10-24 11:06:11 +04:00
pageOfBook1.html 2 laba 2023-10-24 11:06:11 +04:00
pageSignIn.html 2 laba 2023-10-24 11:06:11 +04:00
pageSignUp.html 2 laba 2023-10-24 11:06:11 +04:00
README.md 2 laba 2023-10-24 11:06:11 +04:00
style.css 2 laba 2023-10-24 11:06:11 +04:00
submit.php 2 laba 2023-10-24 11:06:11 +04:00
tsconfig.json 2 laba 2023-10-24 11:06:11 +04:00
tsconfig.node.json 2 laba 2023-10-24 11:06:11 +04:00
vite.config.ts 2 laba 2023-10-24 11:06:11 +04: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:
   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