Closed emersonbottero closed 2 years ago
Finally got a reproduction š . (This is same as #1374 BTW. )
@brc-dd I am still having the same error, my file structure:
config.ts
is empty,
index.md
has just a demo message: # Hello world
I think by default it should show whatever inside index.md
file
but after starting the server an empty page shows with the same error:
my packages versions:
"vite": "^3.1.2",
"vitepress": "^1.0.0-alpha.16",
"vue": "^3.2.39"
is there something missing, or wrong I am doing?
@yaman3bd it has not been published yet.. wait for the next vite release!
@brc-dd I'm still getting the same error. You can update vitepress and vite in the mentioned repo to see the problem.
I haven't released a new version yet.
Weird, not working on alpha-18 too :/
Ah, this will be fixed in next version of @vitejs/plugin-vue
Describe the bug
The build and serve commands works but the dev doesn't.
Reproduction
clone the repo
The error thrown is misleading in my opinion..
Uncaught TypeError: Cannot read properties of undefined (reading 'accept') at VPSkipLink.vue:37:3
Expected behavior
the error should point to the correct file? I'm sure is not a problem in VPSkipLink file. Is hard to debug without knowledge of vitepress internal logic
System Info
Additional context
I'm convincing the mermaidjs team to update their documentation to use vitepress š. I created a repo from scratch first and it works without problem but in the mermaid repo this error may be a combination of the setting done in packaeg.json and tsconfig but!
I think we really want anyone to be able to use vitepress to update any library out there (mission inspiration?? š )
Validations