@ 43:46 the problem was you did not activate the takeover mode from vetur so i had the same when i opened the shim file the error was gone but still dont understand why the error happens when i closed the shim file very weired
this is a awesome tutorial! but i have two question would you add storybook in a separated app or would you add it directly into the ui? whats about nuxt layers? would this also be working or is there a difference?
By the way, I do have a question. How do you resolve components like this? /ui/components/table/index.vue /ui/components/tabs/index.vue It throws a warning: WARN Two component files resolving to the same name ``: Also, can't use the component to something like or
@@vbfcalija You can add another call to `dirs.push`: dirs.push({ path: join(__dirname, 'components/table', prefix: 'AgencyTable', }); This will make your 'index.vue' component available as `` and e.g. `/ui/components/table/Rows.vue` will be usable as ``.
Hey Sander! That is something that needs to be worked on by the team. It’s usually because of auto imports and the runtime environment. However Daniel Roe has brought out this: github.com/danielroe/nuxt-vitest that might help.
Haha yeah I get that a lot :D I'm obsessed with the Kaizen (Gǎishàn)? philosophy. The avatar uses Kanji since it looks better to me than what I think is カイゼン in plain Japanese script. I would love to learn both Mandarin and Japanese some time in my life. But it looks extremely hard and wouldn't know where to find a good instructor.
What a great video, it covers almost everything I'm looking for when trying to move my seperate Nuxt3 web apps to a monorepo. Thanks so much!
Glad it was helpful!
Thanks man!
No problem!
This is an awesome tutorial 😊
quality tutorial mate
You just made my life way easier
What if we want to use tailwindcss in the ui package?
@ 43:46 the problem was you did not activate the takeover mode from vetur so i had the same when i opened the shim file the error was gone but still dont understand why the error happens when i closed the shim file very weired
this is a awesome tutorial! but i have two question
would you add storybook in a separated app or would you add it directly into the ui?
whats about nuxt layers? would this also be working or is there a difference?
thanks kaizen, so i can use nuxt as frontend and nestjs for backend with turborepo? can u make some video to deploy this app?
hi, it's great tutorial. Thanks a lot. Btw, could you pls share the deployment also. It would be great :)
Also looking for steps to deploy to Netlify or Vercel. Did you ever get this working in an optimal way?
Hi. Thanks for the nice tutorial, appreciate it!
By the way, I do have a question. How do you resolve components like this?
/ui/components/table/index.vue
/ui/components/tabs/index.vue
It throws a warning: WARN Two component files resolving to the same name ``:
Also, can't use the component to something like or
@@vbfcalija You need to update the .mjs file to let it know about those paths in the ‘dirs’ hook. I’ll post an example below
@@vbfcalija You can add another call to `dirs.push`:
dirs.push({
path: join(__dirname, 'components/table',
prefix: 'AgencyTable',
});
This will make your 'index.vue' component available as `` and e.g. `/ui/components/table/Rows.vue` will be usable as ``.
@@vbfcalija You'll have to run 'dev' again though if your dev server is active after this kind of update, so the app can resolve the components.
@@KaizenCodes Thank you! It's already working.
What extension in VSCode you were using for "nc" shortcut? Btw, thanks for this helpful tutorial!
Hey I just created a code snippet for 'nc' :) And you're welcome!
@@KaizenCodes And that's nc (nice)! haha
And how does nuxt apps tests work? I tested a page with the components imported automatically and it didn't work
Hey Sander! That is something that needs to be worked on by the team. It’s usually because of auto imports and the runtime environment. However Daniel Roe has brought out this: github.com/danielroe/nuxt-vitest that might help.
Very good :D
when I first saw ur avatar and name u used, I thought u were Chinese lmao 🤣
Haha yeah I get that a lot :D I'm obsessed with the Kaizen (Gǎishàn)? philosophy. The avatar uses Kanji since it looks better to me than what I think is カイゼン in plain Japanese script. I would love to learn both Mandarin and Japanese some time in my life. But it looks extremely hard and wouldn't know where to find a good instructor.