npm i eruda -D
To use eruda without installing eruda as a package, edit the src in the plugin to https://cdn.jsdelivr.net/npm/eruda.
import { defineConfig } from "vite";
import type { PluginOption } from 'vite'
from yt_dlp import YoutubeDL | |
from yt_dlp import YoutubeDL | |
def get_video_formats(url): | |
ydl_opts = { | |
'skip_download': True | |
} | |
with YoutubeDL(ydl_opts) as ydl: | |
info_dict = ydl.extract_info(url, download=False) | |
formats = info_dict.get('formats', []) |
theme = "onedarker" | |
[editor] | |
auto-save = true | |
[editor.gutters] | |
layout = ["line-numbers", "diff"] | |
[editor.gutters.line-numbers] | |
min-width = 0 |
npm i eruda -D
To use eruda without installing eruda as a package, edit the src in the plugin to https://cdn.jsdelivr.net/npm/eruda.
import { defineConfig } from "vite";
import type { PluginOption } from 'vite'