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 Report]: nuxt3使用2.0.0-beta.2版本异常 #1668

Closed
iforgetyounow opened this issue Jul 8, 2024 · 4 comments
Closed

[Bug Report]: nuxt3使用2.0.0-beta.2版本异常 #1668

iforgetyounow opened this issue Jul 8, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@iforgetyounow
Copy link

发生了什么?

logicflow-demo.zip
复现demo

logicflow/core版本

2.0.0-beta.2

logicflow/extension版本

2.0.0-beta.2

logicflow/engine版本

No response

浏览器&环境

No response

@iforgetyounow iforgetyounow added the bug Something isn't working label Jul 8, 2024
@FanSun521
Copy link
Collaborator

问题解决步骤:

  1. 安装@nuxt/content(我直接yarn install后,运行起来提示少@nuxt/content,我装了下)
  2. 安装eslint(yarn add eslint --dev)
  3. 服务器渲染关掉,这一步可以解决掉你那个动态导入的报错(ssr: false,nuxt.config.ts文件中)
  4. ref挂到div下(你目前没挂ref),init函数放到onMounted钩子里
    注意:中间遇到error: [unhandledRejection] connect ECONNREFUSED 127.0.0.1:58348 可以把.nuxt删掉再运行

@iforgetyounow
Copy link
Author

问题解决步骤:

  1. 安装@nuxt/content(我直接yarn install后,运行起来提示少@nuxt/content,我装了下)
  2. 安装eslint(yarn add eslint --dev)
  3. 服务器渲染关掉,这一步可以解决掉你那个动态导入的报错(ssr: false,nuxt.config.ts文件中)
  4. ref挂到div下(你目前没挂ref),init函数放到onMounted钩子里
    注意:中间遇到error: [unhandledRejection] connect ECONNREFUSED 127.0.0.1:58348 可以把.nuxt删掉再运行

ssr: true 这种模式不支持吗?后续版本会支持吗?

@FanSun521
Copy link
Collaborator

我们后续讨论下哈~

@boyongjiong
Copy link
Collaborator

#1683 在那个 issue 看结论。这个先关掉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants