Replies: 2 comments
-
As Petite Vue isn't focussed on a render pipeline and has no virtual DOM, I guess this is outside the scope. The template is derived from the in browser DOM, so you could somehow have it inserted there (server side, editor includes or dynamically with JS before). But I am not entirely sure, … just my current understanding of it. |
Beta Was this translation helpful? Give feedback.
-
You can make reusable components as separate JS modules with |
Beta Was this translation helpful? Give feedback.
-
First off, great lib!
Been looking at the Components section of the docs. I am wondering if it is possible to have the
<template>
and/or js logic of a component in a separate file (either separate for template and logic or combined in a single file), and then import into the main html file.Or, is this outside of the scope of petite, and more a use case for vue?
Beta Was this translation helpful? Give feedback.
All reactions