Skip to content

Commit c32650d

Browse files
committedAug 1, 2022
fix: change the directory to which the generator outputs
1 parent 2707cb1 commit c32650d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ typings/
6969
.nuxt
7070

7171
# Nuxt generate
72-
dist
72+
.output
7373

7474
# vuepress build output
7575
.vuepress/dist

‎main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const config = (() => {
99
return {}
1010
})()
1111

12-
let url = 'file://' + __dirname + '/dist/index.html' // eslint-disable-line no-path-concat
12+
let url = 'file://' + __dirname + '/.output/public/index.html' // eslint-disable-line no-path-concat
1313
if (config.dev) {
1414
const { Nuxt, Builder } = require('nuxt')
1515
const nuxt = new Nuxt(config)

0 commit comments

Comments
 (0)