Skip to content

Commit b27d578

Browse files
committed
Update README.
1 parent 53bf9b2 commit b27d578

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![](https://ws3.sinaimg.cn/large/006tKfTcgy1g0k3dhfdl3j31180u04it.jpg)
2+
13
# vue-multi-pages
24

35
Scaffold for Vue Multiple Pages app.

vue.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ glob.sync('./src/pages/**/main.js').forEach(path => {
1414
pages[pageName] = {
1515
entry: path,
1616
filename: pageName + '.html',
17-
template: pageName + '.html', // If doesn't exist, fallback to 'public/index.html'
17+
// If doesn't exist, fallback to 'public/index.html'
18+
template: pageName + '.html',
1819
title: titles[pageName],
1920
chunks: ['chunk-vendors', 'chunk-common', pageName],
2021
}

0 commit comments

Comments
 (0)