1.0.4 • Published 4 months ago

@genee/uno-dev v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

Uno Dev Env

1. 整合方法

// 在项目的vite.config.ts
import { createUnoEnv } from "@genee/uno-dev/vite";

export default defineConfig({
  base: process.env.NODE_ENV === "production" ? "./" : "",
  plugins: [
    // inspect(),
    createUnoEnv("main.tsx", {
      gateway: "http://uno.dev.gapper.in/gapper/gateway",
      clientId: "CLIENT_ID",
      clientSecret: "CLIENT_SECRET",
      username: "UNO_USERNAME",
      password: "UNO_PASSWORD",
      params: {
        colors: {
          primaryColor: "#336699",
        },
      },
    }),
  ],
});
1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago