{"library":"babel-plugin-import-bk-magic-vue","type":"library","category":null,"description":"A Babel plugin that provides auto-import of component styles for the bk-magic-vue component library. Currently at version 2.1.11, this plugin allows developers to use shorthand imports (both named and default) that automatically include the component's CSS and the common stylesheet (common.min.css). It simplifies the development workflow by eliminating the need for manual style imports. The plugin supports importSpecifier syntax (e.g., import { bkDropdownMenu } from 'bk-magic-vue') and importDefaultSpecifier syntax (e.g., import bkRadio from 'bk-magic-vue/lib/radio'), and also handles full library import. It is configurable via .babelrc with a baseLibName option, defaulting to 'bk-magic-vue'.","language":"javascript","status":"active","version":"2.1.11","tags":["javascript","blueking","babel-plugin","bk-magic-vue","bk-magic"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install babel-plugin-import-bk-magic-vue","imports":["import { bkDropdownMenu } from 'bk-magic-vue'","import bkRadio from 'bk-magic-vue/lib/radio'","import { locale, lang, localeMixin } from 'bk-magic-vue'","import bkMagicVue from 'bk-magic-vue'"]},{"cmd":"yarn add babel-plugin-import-bk-magic-vue","imports":[]},{"cmd":"pnpm add babel-plugin-import-bk-magic-vue","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"babel-plugin-import-bk-magic-vue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}