New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@qiankun-fix/element-ui

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qiankun-fix/element-ui

@qiankun-fix/antd 是一个用于解决 qiankun 框架下子应用适配的 JavaScript 库,适用于elementUI,antd for vue版本请[点击](https://www.npmjs.com/package/@qiankun-fix/antd)

latest
npmnpm
Version
0.9.0
Version published
Maintainers
1
Created
Source

@qiankun-fix/element-ui

1.简介

@qiankun-fix/antd 是一个用于解决 qiankun 框架下子应用适配的 JavaScript 库,适用于elementUI,antd for vue版本请点击

2.使用

(1)安装

import { isInQianKun, fixElementStyle } from '@qiankun-fix/element-ui'

(2)调用fixElementStyle

function render(props = {}) {
  const { container } = props

  // qiankun环境下处理弹出类组件挂载问题
  fixElementStyle(props)

  // 挂载应用
  instance = new Vue({
    router,
    store,
    i18n,
    render: (h) => h(App)
  }).$mount(container ? container.querySelector('#app') : '#app')
}

Keywords

qiankun

FAQs

Package last updated on 21 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts