tiny-engine icon indicating copy to clipboard operation
tiny-engine copied to clipboard

🐛 [Bug]: 区块加载错误

Open nuo-sh opened this issue 10 months ago • 2 comments

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 Image

Image

Image

What is expected

No response

What is actually happening

No response

What is your project name

2.10

Any additional comments (optional)

No response

nuo-sh avatar Feb 10 '25 12:02 nuo-sh

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: Block loading error

Issues-translate-bot avatar Feb 10 '25 12:02 Issues-translate-bot

@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"
        }
     ]
  }
}

chilingling avatar Feb 24 '25 13:02 chilingling