@ice/plugin-fusion
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@ice/plugin-fusion

ice.js plugin for using fusion components.

Usage

import { defineConfig } from '@ice/app';
import fusion from '@ice/plugin-fusion';

export default defineConfig(() => ({
  plugins: [fusion({
    importStyle: true,
    themePackage: '@alifd/theme-design-pro',
    theme: {
      'primary-color': '#fff',
    },
  })],
}));

Options

  • importStyle: Fusion component styles will be automatically imported after enabling.
  • themePackage: Fusion component theme package configuration, if set to an array, multi-theme capability is enabled.
  • theme: theme configuration, overwrite existing themes by setting sass variables.

Readme

Keywords

none

Package Sidebar

Install

npm i @ice/plugin-fusion

Weekly Downloads

3

Version

1.1.0

License

MIT

Unpacked Size

12.5 kB

Total Files

6

Last publish

Collaborators

  • linbudu
  • answershuto
  • chenjun1011
  • luhengchang228
  • sobear
  • clarkxia
  • rax-publisher