No description
Find a file
2024-07-16 11:22:53 +03:00
bin Добавлен скрипт для сборки 2024-03-21 15:28:14 +03:00
public init 2024-03-20 16:25:55 +03:00
src feat: Админка. Создание пользователя. 2024-07-16 11:22:53 +03:00
.env.example Добавлены блоки на главную страницу 2024-03-21 15:23:51 +03:00
.eslintrc.cjs Админка. Просмотр и редактирование разрешений 2024-04-08 13:09:03 +03:00
.gitignore init 2024-03-20 16:25:55 +03:00
.prettierrc init 2024-03-20 16:25:55 +03:00
index.html init 2024-03-20 16:25:55 +03:00
package-lock.json Обновление пакетов 2024-07-16 09:22:22 +03:00
package.json Обновление пакетов 2024-07-16 09:22:22 +03:00
postcss.config.js init 2024-03-20 16:25:55 +03:00
README.md init 2024-03-20 16:25:55 +03:00
tailwind.config.ts Вывод виджета с карточками постов на главной. Правки в редактировании поста 2024-04-12 16:03:46 +03:00
tsconfig.json init 2024-03-20 16:25:55 +03:00
tsconfig.node.json init 2024-03-20 16:25:55 +03:00
vite.config.ts init 2024-03-20 16:25:55 +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