mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix typo
This commit is contained in:
parent
0c4225238a
commit
ef072d972c
@ -38,7 +38,7 @@ async function main () {
|
||||
process.chdir(config.buildDir)
|
||||
|
||||
// Compile html template
|
||||
const htmlTemplateFile = resolve(config.buildDir, `views/${{ 2: 'app', 3: 'template' }[config.nuxt]}.template.html`)
|
||||
const htmlTemplateFile = resolve(config.buildDir, `views/${{ 2: 'app', 3: 'document' }[config.nuxt]}.template.html`)
|
||||
const htmlTemplateFileJS = htmlTemplateFile.replace(/.html$/, '.js').replace('app.', 'document.')
|
||||
const htmlTemplateContents = await readFile(htmlTemplateFile, 'utf-8')
|
||||
// eslint-disable-next-line no-template-curly-in-string
|
||||
|
Loading…
Reference in New Issue
Block a user