https://github.com/sknightq/vue-mpc
multiple pages (multiple entries) based on vue-cli3.x(基于vue-cli3.x创建的多页面应用,每个页面入口又可以创建自己的vue-router)
https://github.com/sknightq/vue-mpc
entries history iframe multiple-entries multiple-pages scss vue vue-cli vue-cli3 vue-mpc vue-router webpack4
Last synced: about 2 months ago
JSON representation
multiple pages (multiple entries) based on vue-cli3.x(基于vue-cli3.x创建的多页面应用,每个页面入口又可以创建自己的vue-router)
- Host: GitHub
- URL: https://github.com/sknightq/vue-mpc
- Owner: sknightq
- Created: 2018-03-30T10:20:51.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T23:47:11.000Z (over 2 years ago)
- Last Synced: 2024-10-31T11:37:09.221Z (7 months ago)
- Topics: entries, history, iframe, multiple-entries, multiple-pages, scss, vue, vue-cli, vue-cli3, vue-mpc, vue-router, webpack4
- Language: Vue
- Homepage: https://sknightq.github.io/vue-mpc/
- Size: 1.32 MB
- Stars: 106
- Watchers: 6
- Forks: 32
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Multiple pages based on vite2
## Versions
### Multiple pages based on vite2
[based on vite2](https://github.com/sknightq/vue-mpc/tree/master)
### Multiple pages based on vue-cli3.x
[based on vue-cli3.x](https://github.com/sknightq/vue-mpc/tree/vue-cli3.x)
### Multiple pages based on vue-cli2.x
[based on vue-cli2.x](https://github.com/sknightq/vue-mpc/tree/vue-cli2.x)## Description
### Why using vite
1. I'm nothing to do recently
2. As you know, the vite is based on ESBuild in development environment. Our multiple pages will cost more time in HRM.
### UI
I want to use the tailwindCSS, So I add tailwindcss(postcss) instead of sass## Project setup
```
npm install
```
or
```
yarn
```## Run demo
```
npm run dev
```
or
```
yarn dev
```## TODO List
- [ ] add a demo
- [ ] add ailwindCSS
- [ ] inject js in each entry by plugin
- [ ] modify my english syntax
- [ ] more detail