Some Deno boilerplate with a site served by vite that lets you login with a steam openid button. UserProvider included
Go to file Use this template
2024-09-26 17:42:15 +00:00
.github/workflows [Deno Deploy] Add .github/workflows/deploy.yml 2024-09-26 17:34:56 +00:00
api add routing of static files to server for deploy 2024-09-26 18:32:44 +01:00
public create vite react app 2024-09-26 15:21:04 +01:00
src add routing of static files to server for deploy 2024-09-26 18:32:44 +01:00
.eslintrc.cjs add routing of static files to server for deploy 2024-09-26 18:32:44 +01:00
.gitignore create vite react app 2024-09-26 15:21:04 +01:00
deno.json adding frontend 2024-09-26 17:07:12 +01:00
deno.lock add routing of static files to server for deploy 2024-09-26 18:32:44 +01:00
index.html create vite react app 2024-09-26 15:21:04 +01:00
package.json add react router 2024-09-26 18:39:54 +01:00
README.md add routing of static files to server for deploy 2024-09-26 18:32:44 +01:00
tsconfig.app.json add routing of static files to server for deploy 2024-09-26 18:32:44 +01:00
tsconfig.json create vite react app 2024-09-26 15:21:04 +01:00
tsconfig.node.json create vite react app 2024-09-26 15:21:04 +01:00
vite.config.ts add routing of static files to server for deploy 2024-09-26 18:32:44 +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