ice/packages/plugin-fusion
ClarkXia a48b921465 chore: publish beta 2023-03-01 19:07:16 +08:00
..
src fix: import path of types and runtime (#5981) 2023-02-28 15:08:10 +08:00
CHANGELOG.md chore: publish beta 2023-03-01 19:07:16 +08:00
README.md chore: optimize (#676) 2022-11-15 10:33:11 +08:00
package.json chore: publish beta 2023-03-01 19:07:16 +08:00
tsconfig.json feat: plugin fusion (#424) 2022-11-15 10:22:57 +08:00

README.md

@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.