vitta
vitta
NNuxt
Created by vitta on 5/31/2024 in #❓・help
impossible to build the documents of `nuxt/ui`
I'm trying to create a pr, having added a prop; while i'm simply following the instruction https://ui.nuxt.com/getting-started/contributing for the playground everything works, when i try to run pnpm run dev the docs doesn't update. If i change the content of the md files, nothing happens, i can only find a content-cache folder in docs/.nuxt with the content cached. What am i missing?
6 replies
NNuxt
Created by vitta on 4/26/2024 in #❓・help
useAsyncData works only on reload
I know i am probably missing something trivial, or worse i didn't understand at all nuxt. In my nuxt3 installation i'm using contentful and its sdk to retrive information for the pages of a website. I created a plugin for the client, and in the index page i am able to connect to the api and retrieve the infos. Then if i switch to the test page and back to the index, to data is null. Only when reloading i can see the data. For the love of god, what am i missing? what i didn't understand about nuxt? Actually is working fine 'cause when i run npm run generate the crawler get all the contents, but it's driving me mad i'm not able to understand why in ssr it's not working. Her's a quick reproduction of my problem https://stackblitz.com/edit/nuxt-starter-idrmrx?file=pages%2Findex.vue Can somebody please help me understand or point me in to the right direction to solve this problem? Thanks you all
1 replies