Classic mode for store/ is deprecated and will be removed in Nuxt 3

简介: Classic mode for store/ is deprecated and will be removed in Nuxt 3

Classic mode for store/ is deprecated and will be removed in Nuxt 3

在这个问题中遇到了两个比较常见的问题:他们的报错情况分别如下:

1.

报错Classic mode for store/ is deprecated and will be removed in Nuxt 3.

2.

Error occurred when calling nuxtServerInit:  socket hang up

接下来分别对以上问题做如下讲解:

1. 针对第一个问题出现这种错误的原因是:nuxt3版本中已经移除了对原始vuex这种编程

相关文章
|
9月前
|
JavaScript
Property “selectedItemIndex“ was accessed during render but is not defined on instance. 报错解决
Property “selectedItemIndex“ was accessed during render but is not defined on instance. 报错解决
731 0
|
9月前
|
JavaScript
鬼火起~为什么报错[Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the
鬼火起~为什么报错[Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the
|
8月前
|
Java
You may wish to exclude one of them to ensure predictable runtime behavior
You may wish to exclude one of them to ensure predictable runtime behavior
61 1
|
7月前
Usage Notes for Advanced Redo Transport Settings
Usage Notes for Advanced Redo Transport Settings
32 3
|
9月前
target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target S
target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target S
123 0
|
9月前
|
JavaScript
解决报错did you register the component correctly? For recursive components, make sure to provide the “na
解决报错did you register the component correctly? For recursive components, make sure to provide the “na
|
9月前
|
编解码 JavaScript 编译器
【Vue warn】If this is a native custom element, make sure to exclude it from component resolution ……
【Vue warn】If this is a native custom element, make sure to exclude it from component resolution ……
Error: Plugin/Preset files are not allowed to export objects, only functions……
Error: Plugin/Preset files are not allowed to export objects, only functions……
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
345 0
Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option ...
Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option ...
176 0