Closed angleKH closed 3 weeks ago
See updated docs:
[vike@0.4.199][Bug] You stumbled upon a Vike bug. Go to https://github.com/vikejs/vike/issues/new and copy-paste this error. A maintainer will fix the bug (usually under 24 hours). at getVirtualFilePageConfigValuesAll (./node_modules/vike/dist/esm/node/plugin/plugins/importUserCode/v1-design/getVirtualFilePageConfigValuesAll.js:24:5) at LoadPluginContext.load (./node_modules/vike/dist/esm/node/plugin/plugins/importUserCode/index.js:53:30) at PluginContainer.load (./node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:49063:22) at loadAndTransform (./node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:51869:22)
Can you reproduce that error or is it random? Closing as I suspect it's random, let's re-open once we get more information.
Description
Docs state that pages can be place under
./src/pages
, but this appears to be error-prone. Here is what I remember doing:./src
(note the mistake, the page placed in./src
, not./src/pages
)npm run dev
, the page works[vike][config][Wrong Usage] /src/[page name]/+onBeforeRenderClient.js sets an unknown config onBeforeRenderClient. Did you mean to set onBeforeRenderEnv instead?
[vike][request(4)][Wrong Usage] No onRenderHtml() hook found, see https://vike.dev/onRenderHtml
despite usingvike-vue
../src/pages
npm run dev
again./src/pages
to./pages
instead