内容加载时布局已损坏

时间:2019-04-30 09:47:03

标签: firebase vue.js nuxt.js antd

日志:

[Vue warn]: Unknown custom element: <nuxt> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
[Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render

CodeSandbox: https://codesandbox.io/embed/github/mtltechtemp/csb/tree/master/

设置:

  1. 将其下载为zip文件,将其解压缩到某个位置,然后在 终奌站。 (CodeSandbox有时会出现故障)
  2. 运行yarn
  3. 先将CD依次复制到expressyarn
  4. 运行yarn build && yarn start
  5. 转到localhost:3000

我尝试了所有可以在万维网上找到的内容,但我无法使其正常工作。

我做错了什么?

0 个答案:

没有答案