You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did it the v1 design migration. I have this warning in the console, because of this import in the +route.jsx: 'import { resolveRoute } from 'vike/routing''
in this file I found TODO comment: node_modules/vike/dist/esm/shared/route/routing.js
// TODO/v1-release - move:
// import { resolveRoute } from 'vike/routing'
// to:
// import { resolveRoute } from 'vike'
I tried the import { resolveRoute } from 'vike' import too, which not working yet.
assert.js?v=5d3e7c2c:23 Error: [vike][Warning] You shouldn't `import { something } from 'vike/client/router'` when using Server Routing. The 'vike/client/router' utilities work only with Client Routing. In particular, don't `import { navigate }` nor `import { prefetch }` as they unnecessarily bloat your client-side bundle sizes.
at assertWarning (assert.js?v=5d3e7c2c:94:21)
at assertNoContradiction (assertRoutingType.js?v=5d3e7c2c:23:5)
at assertServerRouting (assertRoutingType.js?v=5d3e7c2c:17:5)
at entry.js:2:1
The text was updated successfully, but these errors were encountered:
Description
I did it the v1 design migration. I have this warning in the console, because of this import in the +route.jsx: 'import { resolveRoute } from 'vike/routing''
in this file I found TODO comment: node_modules/vike/dist/esm/shared/route/routing.js
// TODO/v1-release - move:
// import { resolveRoute } from 'vike/routing'
// to:
// import { resolveRoute } from 'vike'
I tried the import { resolveRoute } from 'vike' import too, which not working yet.
The text was updated successfully, but these errors were encountered: