mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-21 02:04:26 +08:00
move the function of switching desktop/mobile page to frontend
This commit is contained in:
@@ -10,6 +10,12 @@ const licenseFile = fs.readFileSync('./LICENSE', 'UTF-8');
|
||||
|
||||
module.exports = {
|
||||
pages: {
|
||||
index: {
|
||||
entry: 'src/index-main.js',
|
||||
template: 'src/public/index.html',
|
||||
filename: 'index.html',
|
||||
chunks: ['vendors-common-bundle', 'vendors-index-bundle', 'common-bundle', 'index']
|
||||
},
|
||||
desktop: {
|
||||
entry: 'src/desktop-main.js',
|
||||
template: 'src/public/desktop.html',
|
||||
|
||||
Reference in New Issue
Block a user