harrywan 6db74bfbbc refactor(plugin-model): 使用@vueuse/core实现模型状态共享
重构模型插件,利用@vueuse/core的createSharedComposable实现模型状态共享
移除默认容器模板,改为使用JSX实现的getRootContainer组件
优化路由初始化逻辑,将beforeRender处理移至根容器组件
2025-09-11 10:25:11 +08:00

43 lines
1.0 KiB
JSON

{
"name": "@fesjs/plugin-model",
"version": "3.0.3",
"description": "@fesjs/plugin-model",
"author": "harrywan",
"license": "MIT",
"homepage": "https://github.com/WeBankFinTech/fes.js#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/WeBankFinTech/fes.js.git",
"directory": "packages/plugin-model"
},
"bugs": {
"url": "https://github.com/WeBankFinTech/fes.js/issues"
},
"keywords": [
"fes"
],
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"files": [
"dist",
"types.d.ts"
],
"scripts": {
"dev": "tsup --watch --sourcemap",
"build": "tsup"
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@fesjs/fes": "^3.1.12",
"@vueuse/core": "^13.0.0",
"vue": "^3.5.21"
},
"dependencies": {
"@fesjs/shared": "workspace:*",
"@fesjs/utils": "workspace:*"
},
"typings": "./types.d.ts"
}