Skip to content

Commit

Permalink
ci: fix not found uno config
Browse files Browse the repository at this point in the history
  • Loading branch information
chizukicn committed Nov 27, 2023
1 parent c02297d commit 10bcebe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions playground/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
import { resolve } from "node:path";
import { defineConfig } from "vite";

import jsx from "@vitejs/plugin-vue-jsx";

import uno from "unocss/vite";


// https://vitejs.dev/config/
export default defineConfig(() => ({
base: "/",

plugins: [
jsx(),
uno()
uno({
configFile: resolve(__dirname, "./src/uno.config.ts")
})
]
}));
2 changes: 1 addition & 1 deletion playground/uno.config.ts → uno.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, presetUno } from "unocss";
import presetPalette from "../src";
import presetPalette from "./src";

export default defineConfig({

Expand Down

0 comments on commit 10bcebe

Please sign in to comment.