DEV Community

loading...

How to Implement Dynamic Components on Vuejs

Daniele Fontani
・1 min read

The single-page application is now a standard in most scenarios. Decoupling the business logic from the presentation brings enormous advantages in terms of efficiency and quality. The fact that most frameworks build a static set of files is an additional benefit for reducing hosting or deploying complexity. These characteristics are good for an enterprise application, but I found it quite limiting when I starting to develop the frontend of RawCMS, my opensource headless cms. In fact, I needed a modular system where contributors could add features to the interface without any limitation or building anything. In this article, I will go over the step I have done presenting my final solution.
Spoiler: I ended using VueJs with Vuex and plain javascript. The result was a dynamic engine for loading components from any public URL and, if I could come back to the beginning, I will make the same decision again 😆

Read Full Article

Discussion (0)

Forem Open with the Forem app