Skip to content

Commit

Permalink
fix($core): themePath/templates/ssr.html doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Oct 29, 2018
1 parent 432e662 commit 497ce80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@vuepress/core/lib/prepare/AppContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ module.exports = class AppContext {
const siteSsrTemplate2 = path.resolve(templateDir, 'ssr.html')
const siteDevTemplate2 = path.resolve(templateDir, 'dev.html')

const { themeSsrTemplate, themeDevTemplate } = this.themeEntryFile
const themeSsrTemplate = path.resolve(this.themePath, 'templates/ssr.html')
const themeDevTemplate = path.resolve(this.themePath, 'templates/dev.html')

const defaultSsrTemplate = path.resolve(__dirname, '../app/index.ssr.html')
const defaultDevTemplate = path.resolve(__dirname, '../app/index.dev.html')
Expand Down

0 comments on commit 497ce80

Please sign in to comment.