Coming from the Next.js + React ecosystem it took a while to get use to the new syntax and also an entire ecosystem of plugins. Was trying out Nuxt to see how the developer experience is like and I can't figure what to make of it yet - can't say I like it for now.
Some interesting things I've noted:
- There's a little bit more of "magic" involved, ie components are automatically made available globally
Question: how do you navigate to the component code from where it's referenced? When writing in react components need to be explicitly imported and I can Ctrl+click to go to the component code easily.
- I still have trouble grasping environment variable. I've loaded some values in the .env file but then on the page it will resolve twice, once to undefined and once to the actual value.
Question: I must be doing something wrong here, how do you go around passing an env variable into a util class (I'm building a reusable component there).
Anyway, I took about 8 hours to get this blog template up and really hope to solve the issue with the env and share the template with the rest.