@xm-fe/xm-pc-base
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "@xm-fe/xm-pc-base", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "2022 鲜沐pc-base", | ||
@@ -8,3 +8,3 @@ "author": { | ||
}, | ||
"main": "./src/components/index.ts", | ||
"main": "./src/index.ts", | ||
"files": [ | ||
@@ -11,0 +11,0 @@ "src/" |
## ⚡️ 简介 | ||
2022 鲜沐科技 manage 前端新系统 | ||
2022 鲜沐科技 manage 前端新系统的基础组件包 | ||
## 🚀 使用 | ||
``` | ||
pnpm i @xm-fe/xm-pc-base | ||
``` | ||
## 🚀 开发 | ||
@@ -21,41 +27,1 @@ | ||
``` | ||
## ✔️ 预览 | ||
```bash | ||
# 预览预发布环境 | ||
pnpm preview:stage | ||
# 预览正式环境 | ||
pnpm preview:prod | ||
``` | ||
## 📦️ 多环境打包 | ||
```bash | ||
# 构建预发布环境 | ||
pnpm build:stage | ||
# 构建正式环境 | ||
pnpm build:prod | ||
``` | ||
## 🔧 代码格式检查 | ||
```bash | ||
pnpm lint | ||
``` | ||
## 功能 | ||
- 路由 | ||
- api | ||
- 全局提示 | ||
- 代码组织结构 | ||
- 状态保留(全局&局部 list) | ||
- 图片资源管理 | ||
- 组件结构 | ||
- style(全局&局部) | ||
- 自动化枚举资源 | ||
- 新老系统切换 | ||
- 发布部署 |
@@ -10,3 +10,3 @@ import { App } from 'Vue' | ||
export default { | ||
export const SComponent = { | ||
install: (app: App<Element>) => { | ||
@@ -13,0 +13,0 @@ app.component('SCustomFilter', SCustomFilter) |
@@ -1,4 +0,1 @@ | ||
import { cityData } from './city' | ||
import { provinceCityData } from './province-city' | ||
import { optionsData } from './optionsData' | ||
import { multCascaderBase, CascaderBase, selectBaseWithSearch, selectMultBase } from './config-base' | ||
@@ -105,3 +102,3 @@ import { remoteSelectBase, selectBase } from './config-base' | ||
base: multCascaderBase, | ||
optionsFn: () => cityData, | ||
optionsFn: () => window._xm_global.getProvinceCityDistrict(), | ||
}, | ||
@@ -113,3 +110,3 @@ | ||
base: multCascaderBase, | ||
optionsFn: () => provinceCityData, | ||
optionsFn: () => window._xm_global.getProvinceCity(), | ||
}, | ||
@@ -116,0 +113,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42
77505
1399
27
3