autobrr/web
KaiserBh 1cdbbe5bf3
refactor(web): migrate create-react-app to vite (#823)
* fix(build): dockerignore add exclusions

* fix: baseurl and build

* chore: removed react-app-env instead use vite

* chore: updated server and embedding static files.

* commented because conflict I believe, and not needed.

* docs: updated readme

* chore: updated json and added vite

* chore: import fix

* chore: updated yarn.lock and package json

* build: add empty dist to compile backend

* fix: use / as default baseurl

---------

Co-authored-by: KaiserBh <kaiserbh@proton.me>
Co-authored-by: ze0s <ze0s@riseup.net>
2023-04-10 14:28:24 +02:00
..
.yarn/releases build(docker): add multiarch build for ARM, ARM64 and AMD64 (#378) 2022-08-03 19:38:32 +02:00
dist refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
public/static refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
src refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
.eslintrc.js refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
.gitignore refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
.yarnrc.yml build(docker): add multiarch build for ARM, ARM64 and AMD64 (#378) 2022-08-03 19:38:32 +02:00
build.go refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
index.html refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
package.json refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
postcss.config.js refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
README.md refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
tailwind.config.js feat(filters): regex validation for supported fields (#773) 2023-03-30 23:41:03 +02:00
tsconfig.json refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
vite.config.ts refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
yarn.lock refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00

web

This project uses React built with Vite.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn build

Builds the app for production to the dist folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Learn More

To learn React, check out the React documentation.