init webview: add webview ui and list machine as api example

This commit is contained in:
Johannes Kirschbauer
2024-05-14 18:55:44 +02:00
committed by hsjobeki
parent 3dc070db92
commit 3b3426d219
20 changed files with 3658 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
import { defineConfig } from "vite";
import solidPlugin from "vite-plugin-solid";
// import devtools from "solid-devtools/vite";
export default defineConfig({
plugins: [
/*
Uncomment the following line to enable solid-devtools.
For more info see https://github.com/thetarnav/solid-devtools/tree/main/packages/extension#readme
*/
// devtools(),
solidPlugin(),
],
server: {
port: 3000,
},
build: {
target: "safari11",
// assetsDi
manifest: true,
},
});