Docs
Getting started
Deploy
Deploy
#Test Locally
Before deploying, make sure your app works correctly in the local environment.
- Build your app:
Terminal
vite build
- Once the build is complete, preview the built app:
Terminal
vite preview
#What you have to do
Each hosting provider has its own way of handling routing.
Since exta generates static pages as .html
files, some hosting services (especially those that don't support clean URLs) may not display pages correctly unless the proper routing configuration is set.
Checking this in advance ensures your app will run smoothly after deployment.
#Netlify
Netlify supports clean URLs by default, so no additional configuration is required.
#Vercel
Modify vercel.json
:
JSON
{
"cleanUrls": true
}