Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to use Vite instead of Create React App #515

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

thienandangthanh
Copy link

@thienandangthanh thienandangthanh commented Nov 7, 2023

Fix #514

What have been done

  • Upgrade to React 17
  • Upgrade packages to latest version, except husky and lint-staged
  • Replace create-react-app with vite
  • The build command, build output stay the same

Reference

@thienandangthanh
Copy link
Author

thienandangthanh commented Nov 7, 2023

I found out there's a problem that the ui only show blank page when running with wifi-connect binary.

The cause is that vite build output both assets and static directory. But wifi-connect doesn't serve the assets folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal: Replace create-react-app with Vite for Improved UI Development and DX
1 participant