$ npm i -D
$ npm run build
During development .env.development
will be loaded. All environment variables should be prefixed with VITE_
for them to be accessible from the front-end code. For production build, .env.production
file will be used.
// clear extension cookie during development mode
// run inside chrome extension inspect console
chrome.cookies
.remove({ name: "auth.user", url: "http://localhost:3000" })
.then(() => console.log("deleted"))