key differences when developing vue in nuxt ?
assuming I Only made the main page static
what key points should I care about when developing Vue frontend in nuxt ?
( also I still didn't find a way to enforce authentication without sending the page and doing an API call... I should be able to refuse the connection immediately and not waste resources/bandwidth ( unless I am missing something) )
5 Replies
SSR mainly
The way you fetch data,
SEO,
And many more little things, you can find in the doc
Also more than that
* Module System
* Nuxt Layers to organize your app
* The chance to selectively prerender or ssr certain pages
* Built-in Middleware
* A backend for frontend (nitro) if needed
* Auto Imports of files and components
* Easy deployment everywhere
* Simple Markdown support
i am unable to comprehend what are "Layers"
sorry for late reply i didn't see any notification for some reason
i know you made a video about it but still it wasn't clear for me
Think of it as "grouping by feature" and not by filetype (components, pages, ...)
with small apps it won't help much but big applications really benefit
let's say I now have component that theoretically could be used anywhere
what will the "layers" feature improve now ?