Spaces:
Running
Running
Fix broken favicon SVG path - use relative path for static hosting
Browse files- README.md +2 -2
- index.html +2 -2
- vite.config.ts +10 -10
README.md
CHANGED
|
@@ -17,7 +17,7 @@ An interactive demonstration of the `@gradio/dataframe` component showcasing its
|
|
| 17 |
## Features
|
| 18 |
|
| 19 |
- π― **Interactive Canvas** - Live dataframe component with real-time controls
|
| 20 |
-
- π **Comprehensive Documentation** - Complete API reference and usage examples
|
| 21 |
- π **Event Handling** - Demonstration of component events and callbacks
|
| 22 |
- π» **Source Code** - Full implementation code with syntax highlighting
|
| 23 |
- π **Dark Mode** - Toggle between light and dark themes
|
|
@@ -33,4 +33,4 @@ Explore different dataframe configurations using the examples panel, adjust sett
|
|
| 33 |
- **Svelte 5** - Modern reactive framework
|
| 34 |
- **Vite** - Fast build tool and dev server
|
| 35 |
- **Tailwind CSS** - Utility-first CSS framework
|
| 36 |
-
- **@gradio/dataframe** - Standalone dataframe component
|
|
|
|
| 17 |
## Features
|
| 18 |
|
| 19 |
- π― **Interactive Canvas** - Live dataframe component with real-time controls
|
| 20 |
+
- π **Comprehensive Documentation** - Complete API reference and usage examples
|
| 21 |
- π **Event Handling** - Demonstration of component events and callbacks
|
| 22 |
- π» **Source Code** - Full implementation code with syntax highlighting
|
| 23 |
- π **Dark Mode** - Toggle between light and dark themes
|
|
|
|
| 33 |
- **Svelte 5** - Modern reactive framework
|
| 34 |
- **Vite** - Fast build tool and dev server
|
| 35 |
- **Tailwind CSS** - Utility-first CSS framework
|
| 36 |
+
- **@gradio/dataframe** - Standalone dataframe component
|
index.html
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
<!
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
-
<link rel="icon" type="image/svg+xml" href="
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
<title>@gradio/dataframe Demo</title>
|
| 8 |
</head>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
+
<link rel="icon" type="image/svg+xml" href="./vite.svg" />
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
<title>@gradio/dataframe Demo</title>
|
| 8 |
</head>
|
vite.config.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
| 1 |
-
import { defineConfig } from
|
| 2 |
-
import { svelte } from
|
| 3 |
|
| 4 |
// https://vite.dev/config/
|
| 5 |
export default defineConfig({
|
| 6 |
plugins: [svelte()],
|
| 7 |
-
base:
|
| 8 |
build: {
|
| 9 |
-
outDir:
|
| 10 |
-
assetsDir:
|
| 11 |
sourcemap: false,
|
| 12 |
-
minify:
|
| 13 |
rollupOptions: {
|
| 14 |
output: {
|
| 15 |
manualChunks: undefined,
|
| 16 |
-
}
|
| 17 |
-
}
|
| 18 |
-
}
|
| 19 |
-
})
|
|
|
|
| 1 |
+
import { defineConfig } from "vite";
|
| 2 |
+
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
| 3 |
|
| 4 |
// https://vite.dev/config/
|
| 5 |
export default defineConfig({
|
| 6 |
plugins: [svelte()],
|
| 7 |
+
base: "./",
|
| 8 |
build: {
|
| 9 |
+
outDir: "dist",
|
| 10 |
+
assetsDir: "assets",
|
| 11 |
sourcemap: false,
|
| 12 |
+
minify: "esbuild",
|
| 13 |
rollupOptions: {
|
| 14 |
output: {
|
| 15 |
manualChunks: undefined,
|
| 16 |
+
},
|
| 17 |
+
},
|
| 18 |
+
},
|
| 19 |
+
});
|