mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-22 19:25:16 +00:00
bug fix + generate web files in correct directory
This commit is contained in:
parent
d84a70fd5a
commit
e1e699f275
3 changed files with 5 additions and 3 deletions
|
@ -4,12 +4,12 @@ export default {
|
|||
|
||||
//--- Bettertube Stuff ---//
|
||||
target: 'static',
|
||||
build: {
|
||||
buildDir: '../dist'
|
||||
},
|
||||
plugins: [
|
||||
{ src: "~/plugins/youtube", mode: "client" }
|
||||
],
|
||||
generate: {
|
||||
dir: '../dist'
|
||||
},
|
||||
|
||||
//--- Bettertube Debugging ---//
|
||||
server: {
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
"start": "nuxt generate",
|
||||
"build": "nuxt generate",
|
||||
"generate": "nuxt generate"
|
||||
},
|
||||
|
|
|
@ -8,6 +8,7 @@ const module = {
|
|||
params: { client: 'youtube', q: text },
|
||||
};
|
||||
const response = await Http.request(options);
|
||||
callback(response)
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue