In this React + Vite simple app, we will walk you from creating a simple react app
with Vite till configure it with Zephyr plugin in vite.config.ts
.
If you don't have nvm
to manage your node version yet, head to the official nvm guide to install it.
and then run commands to make sure you have necessary dependencies installed.
You should see the website lives in localhost. Open the vite.config.ts
in your editor and add below modification:
Remember to initialize a git repository in current folder, before you npm run build
to deploy your app.
With git config initialized, linked to remote origin and additional configuration, you are ready to deploy:
You will see the build output like so and the highlighted lines include your deployed URL:
On your browser, click on , you can see your application is under the dropdown menu:
You can access this application as well as all the underlying versions anytime whenver you click on Zephyr Cloud chrome extension.