1.0.6 • Published 1 year ago

theme-color-plugin v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Install

npm i -D theme-color-plugin

Config

const initThemeColorPlugin = require("theme-color-plugin");

const createThemeColorReplacerPlugin = initThemeColorPlugin('默认主题色');

vue.config.js

module.exports = defineConfig({
  ...,
  plugin:[createThemeColorReplacerPlugin()]
})

Use

const ThemePlugin = require("theme-color-plugin/update-theme");

ThemePlugin.setProxyCssUrl("是否需要代理css地址");

ThemePlugin.updateTheme("新的颜色");
1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago