vite-plugin-virtual-mpa
Out-of-box MPA plugin for Vite, generate multiple entries using only one template.
File Explorer
Download Latest Version (.zip)- config.json
- README.md
- release.yml
- extensions.json
- settings.json
- other.html
- index.html
- test1.svg
- test2.png
- App.vue
- index.js
- App.vue
- index.js
- App.vue
- index.js
- App.vue
- index.js
- App.vue
- index.js
- template.html
- .env
- .eslintignore
- index.html
- jsconfig.json
- package.json
- README.md
- vite.config.ts
- api-types.ts
- html-minify.ts
- index.ts
- plugin.ts
- utils.ts
- .commitlintrc.cjs
- .editorconfig
- .eslintignore
- .eslintrc.js
- .gitignore
- .lintstagedrc.mjs
- .npmrc
- .prettierignore
- .prettierrc.cjs
- CHANGELOG.md
- LICENSE
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- README.zh_CN.md
- tsconfig.json
- tsup.config.ts
# Installation Guide
1. Get the code
git clone https://github.com/emosheeep/vite-plugin-virtual-mpa
Downloads the entire project code from GitHub to your computer.
cd vite-plugin-virtual-mpa
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
pnpm install
Downloads and installs the libraries listed in package.json.
pnpm serve/build
Type this command into your terminal and run it.
pnpm add -D vite-plugin-virtual-mpa # or npm/yarn
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
