Iâm not sure what you mean by server configuration - weâve had projects that used React and Angular which worked just fine without needing anything special at the server level.
Are you trying to follow the guides on reactjs.org? Those are aimed at people writing their entire webapp in React, not people using a CMS.
As with the React example I linked above, though, that really doesnât have anything to do with Matrix - you just call the JS library the same way you would from any Web page.
Is the Angular project you mentioned above using Angular 2+ or AngularJS? If it is Angular 2 or Angular 4, how did you make the Typescript compiled in Matrix?
(Note that this isnât a specific endorsement of unpkg, just noting that there are options for this. Thereâs also https://www.jsdelivr.com/ which does the same thing, I believe.)
Weâve made widgets in Vue. An asset listing will generate the JS data required for the widget. Once youâve developed the widget in your CLI, run build and upload the build js file to the matrix.
Weâve done this too. We also use https://ssr.vuejs.org/guide/non-node.html to render vue components in render function format. We have a components file that exposes available components and call it with:
renderVueComponentToString(new Vue({
components: {
topNav: ExposedVueComponents.vNavComponent
},
render: function (createElement) {
return createElement('top-nav', {
props: {
// PROPS GO HERE
}
}
)
}
}), function(err, res) {
if (err) {
print(err)
} else {
print(res)
}
})
We are considering the possibility of encasing the entire body area in a wrapper so that we can call Vue components from the content such as those from BootstrapVue or Vuetify