tiny-engine
tiny-engine copied to clipboard
🐛 [Bug]: 区块加载错误
Environment
clone源码
Version
node v22.13.0
Version
tiny-engine 2.2.0
Link to minimal reproduction
无
Step to reproduce
1.下载源码
2.启动datacenter和webservice
3.源码项目物料同步
4.启动项目
5.发现多个区块加载错误,控制台一条error
What is expected
No response
What is actually happening
No response
What is your project name
2.10
Any additional comments (optional)
No response
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: Block loading error
@nuo-sh v2.2 物料协议有变动。
需要增加物料 package 描述:
{
“framework”: "vue",
"materials: {
"components": [],
"snippets": [],
// 需要增加物料包描述
"packages": [
{
"name": "TinyVue组件库",
"package": "@opentiny/vue",
"version": "3.20.0",
"destructuring": true,
"script": "https://unpkg.com/@opentiny/vue-runtime@~3.20/dist3/tiny-vue-pc.mjs",
"css": "https://unpkg.com/@opentiny/vue-theme@~3.20/index.css"
},
{
"name": "element-plus组件库",
"package": "element-plus",
"version": "2.4.2",
"script": "https://unpkg.com/[email protected]/dist/index.full.mjs",
"css": "https://unpkg.com/[email protected]/dist/index.css"
}
]
}
}