update tauri config
This commit is contained in:
1 parent
f5b0903069
commit
ffb6474c08
5 files changed
+3
-55
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import { defineConfig } from 'vitepress'
|
||||
import nodePolyfills from 'rollup-plugin-polyfill-node';
|
||||
|
||||
const TAURI_HOST = ''
|
||||
|
||||
@@ -29,7 +28,6 @@ export default defineConfig({
|
||||
]
|
||||
},
|
||||
vite: {
|
||||
plugins: [nodePolyfills({ include: ['fs'] })],
|
||||
clearScreen: false,
|
||||
server: {
|
||||
// make sure this port matches the devUrl port in tauri.conf.json file
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
import type { Theme } from "vitepress";
|
||||
import DefaultTheme from "vitepress/theme";
|
||||
import Downloader from "./components/Downloader.vue";
|
||||
import ytParsePlugin from "./plugins/yt-parse";
|
||||
|
||||
export default {
|
||||
extends: DefaultTheme,
|
||||
enhanceApp({ app }) {
|
||||
// register your custom global components
|
||||
app.component("Downloader", Downloader);
|
||||
app.use(ytParsePlugin);
|
||||
},
|
||||
} satisfies Theme;
|
||||
Reference in new issue
Block a user