Skip to content

hellokaton/vite-react-mpa-example

Repository files navigation

vite-react-mpa-example

This is an example of multi page application using React and Vite, which includes router usage and packaging configurations.

Usage

local env preview

yarn run dev

You can access the following path verify:


build to dist

yarn run build

The generated directory is as follows

 ~/react/vite-react-mpa-example/dist
.
├── admin
│   └── index.html
├── assets
│   ├── admin.26a797b8.css
│   ├── admin.f723a3c2.js
│   ├── favicon.17e50649.svg
│   ├── index.458f9883.css
│   ├── index.6bb9e804.js
│   ├── index.bff09771.js
│   ├── index.ed209ab7.css
│   ├── logo.ecc203fb.svg
│   └── vendor.763bc56e.js
└── index.html

2 directories, 11 files

I have the project deployed on vercel, which you can try to access

Further Info

About

React + Vite multi page application example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published