dlyx-web-element
v0.0.7
Published
Vue 3 + Element Plus component library migrated from `yxcom5/src/components/CommonComponent`.
Readme
dlyx-web-element
Vue 3 + Element Plus component library migrated from yxcom5/src/components/CommonComponent.
Install
npm install dlyx-web-elementUse
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import DlyxWebElement from 'dlyx-web-element'
import 'element-plus/dist/index.css'
import 'dlyx-web-element/dist/dlyx-web-element.css'
import App from './App.vue'
createApp(App)
.use(ElementPlus)
.use(DlyxWebElement, {
basePath: import.meta.env.VITE_API_BASE_PATH,
filePath: import.meta.env.VITE_API_FILE_PATH,
token: '',
tokenKey: 'Authorization',
})
.mount('#app')Named imports are also supported:
import { HyButton, HyGrid, setYxElementConfig } from 'dlyx-web-element'Components
HyButton, HyDatePicker, HyDrop, HyDropTree, HyTree, HyFile, HyForm, HyFormItem, HyInputButton, HyRadio, HyGrid, HyGridItem, HyUpload, Dialog, Icon.
Publish
npm install
npm run build
npm publishprepublishOnly runs npm run build automatically before publishing.
