1.0.0 • Published 1 year ago
nuc-commons v1.0.0
nuc-commons
威视前端vue3.0公共基础组件和方法
安装依赖
npm install nuc-commons
应用
import { components, tools } from 'nuc-commons'
// 组件注册
app.use(components)
import { nucTable } from 'nuc-commons'
// 单个组件引用
app.use(nucTable)
// 单个工具引用
cost time = tools.nucFormat.parseTime(...)
// 或者
import { parseTime } from 'nuc-commons'
cost time = parseTime(...)
结构
components
- nuc-layout
- nuc-table
- nuc-form
- nuc-content-card
- nuc-map
- nuc-dialog
- nuc-detail
- nuc-crypto
tools
- NucWs
- nucFormat
- nucValidator
- getUrlParams