Switching from Webpack to Vite #1975
koistya
announced in
Announcements
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As an attempt to simplify JavaScript bundling configuration and provide a better development experience (DX), starting from today the template will be using Vite instead of Webpack.
Also, in this release (#1974), the front-end source code has been moved into the
/app
folder (Yarn workspace) so that you could more easily add other packages (workspaces), e.g./api
with GraphQL/REST API backend powered by Next.js or something like that.There is
/edge
folder (workspace) containing Cloudflare Worker script that allows deploying the app directly to Cloudfalre (CDN), which can be easily removed if you're not using Cloudflare.Finally, the template now comes with an authentication logic powered by Firebase Auth (a.k.a, Google Identity Platform).
How to access the currently logged-in / authenticated User object
In, order to open a login modal dialog or Apple/Google/Facebook login (popup) window use
useAuth()
React hook:Beta Was this translation helpful? Give feedback.
All reactions