Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [Bug]: 区块加载错误 #1104

Open
nuo-sh opened this issue Feb 10, 2025 · 2 comments
Open

🐛 [Bug]: 区块加载错误 #1104

nuo-sh opened this issue Feb 10, 2025 · 2 comments
Labels
question Further information is requested

Comments

@nuo-sh
Copy link

nuo-sh commented Feb 10, 2025

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

@Issues-translate-bot
Copy link

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


Title: 🐛 [Bug]: Block loading error

@chilingling
Copy link
Member

@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 chilingling added the question Further information is requested label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants