1.2.3 • Published 3 years ago

th-network-repair-conduct v1.2.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

基于element-ui封装的公共组件库

  • 本库主要包含基础组件、工具类、主题样式

npm i element-ui -S npm i xlsx -S npm i th-vue-component -S npm i th-vue-business -S npm i th-vue-echarts -S npm i th-gis -S npm i th-network-common -S npm i th-network-repair-conduct -S

全局导入

  import ThNetworkRepairConduct from 'th-network-repair-conduct'
  import 'th-network-repair-conduct/lib/theme/index.css'
  import 'th-network-repair-conduct/lib/th-network-repair-conduct.css'
  import 'th-network-common/lib/th-network-common.css'
  import 'th-vue-component/lib/th-vue-component.css'
  import 'th-vue-component/lib/theme-sggreen/index.css'
  import 'th-vue-business/lib/th-vue-business.css'
  import 'th-vue-echarts/lib/th-vue-echarts.css'
  import 'th-gis/lib/th-gis.css'
  Vue.use(ThNetworkRepairConduct)

配置

module.exports = {
  chainWebpack: config => {
    // 别名
    config.resolve.alias
      .set('@@', resolve('node_modules/th-network-repair-conduct/src'))
      .set('variable', resolve('node_modules/th-network-repair-conduct/src/assets/theme/src/common/variable.scss'))
  },
  transpileDependencies: [
    'th-network-repair-conduct/src'
  ]
}

指令说明

# 安装依赖
npm run pre

# 启动DEMO开发模式
npm run dev

# 打包组件
npm run build

# 打包样式
npm run build:theme

# 发布(npm adduser && npm login)
npm run deploy
1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.1.1

3 years ago

1.0.11

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.10

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago