@miop/china-area-data
v0.0.3
Published
中国省份城市区数据
Downloads
9
Readme
插件说明
插件源 china-area-data 修改定制化部分值。
如本插件不适用, 请切换到原始库, china-area-data 。
安装
npm install @miop/china-area-data
版本说明
目录下的 data.json
默认为最新版本。
为了方便一些处理,在每个版本下生成了 only_2_level_city_id.json
文件方便统计和处理一些只有二级省市的条目。
vux 目录生成的是 VUX 组件库地址组件 XAddress
的内置数据。
v4
修改直辖市为二级选择
构建数据
构建标准化数据 npm run build
或 yarn build
。
构建vux数据 npm run vux
或 yarn vux
。