mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
fix typo
This commit is contained in:
parent
0c4225238a
commit
ef072d972c
@ -38,7 +38,7 @@ async function main () {
|
|||||||
process.chdir(config.buildDir)
|
process.chdir(config.buildDir)
|
||||||
|
|
||||||
// Compile html template
|
// 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 htmlTemplateFileJS = htmlTemplateFile.replace(/.html$/, '.js').replace('app.', 'document.')
|
||||||
const htmlTemplateContents = await readFile(htmlTemplateFile, 'utf-8')
|
const htmlTemplateContents = await readFile(htmlTemplateFile, 'utf-8')
|
||||||
// eslint-disable-next-line no-template-curly-in-string
|
// eslint-disable-next-line no-template-curly-in-string
|
||||||
|
Loading…
Reference in New Issue
Block a user