Wrap an existing PHP / html app ? #48
-
Would it be possible to use vue3-sfc-loader to completly wrap an existing HTML page and automatically add every component inside a folder (i.e. having /components/*.vue)? |
Beta Was this translation helpful? Give feedback.
Answered by
FranckFreiburger
Apr 15, 2021
Replies: 1 comment 3 replies
-
Hi diogomend, I think it is possible to use PHP to get the public path of all components in |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
FranckFreiburger
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi diogomend,
I think it is possible to use PHP to get the public path of all components in
/components/*.vue
then register all these components (
app.component('component', await loadModule(componentPath))
)