Before creating a production version of your app, install Netlify CLI. Then:
netlify build
Once the project dependencies installed with npm install
(or pnpm install
or yarn
), start a development server:
netlfy dev
VITE_NETLIFY_APP_URL = "<APP_URL_HERE>"
GOOGLE_CLIENT_ID = "<GOOGLE_CLIENT_ID_HERE>"
GOOGLE_CLIENT_SECRET = "<GOOGLE_CLIENT_SECRET_HERE>"
To test the app on Netlify Site, run:
netlfy deploy