vue config publicpath fix for GitHub pages

This commit is contained in:
Xevion
2020-12-15 10:53:44 -06:00
parent 3c2c3792ed
commit 4e4a0866cf
6 changed files with 5 additions and 5 deletions

View File

@@ -1,3 +1,4 @@
module.exports = {
outputDir: './docs/',
publicPath: process.env.NODE_ENV === 'production' ? '/power-math/' : '/',
}