Vue's Nuxt also have <client-only> (i.e. <no-ssr>).
<client-only>
<no-ssr>
Good thing, maybe; is that Vue / Nuxt prefers DSL in <template> tag.
<template>
I'm not familiar with Nuxt. I imagine that <client-only> is also a renderless component. Still not a fan of that type of component.
What I like about Vue SFC is that is familiar. The template, script and style tag is a good mirror to the traditional html structure.
template
script
style
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Vue's Nuxt also have
<client-only>
(i.e.<no-ssr>
).Good thing, maybe; is that Vue / Nuxt prefers DSL in
<template>
tag.I'm not familiar with Nuxt. I imagine that
<client-only>
is also a renderless component. Still not a fan of that type of component.What I like about Vue SFC is that is familiar. The
template
,script
andstyle
tag is a good mirror to the traditional html structure.