N
Nuxt3mo ago
Artist201

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
MolakDul
MolakDul3mo ago
SSR mainly The way you fetch data, SEO, And many more little things, you can find in the doc
manniL
manniL3mo ago
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
Artist201
Artist2013mo ago
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
manniL
manniL3mo ago
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
Artist201
Artist2013mo ago
let's say I now have component that theoretically could be used anywhere what will the "layers" feature improve now ?
Want results from more Discord servers?
Add your server