You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am developing CMS and main feature is other developers are able to develop extensions. Each extension is a separate bundle file. Use may install those extensions through a special extensions store. After installing it menu element will appear to navigate to it.
So basically I need import based on a variable. Use open URL /users/list where users is the name of extension. So I know bundle is located at /extensions/user/bundle.js so in a router I have to load that bundle and then execute extension router. Something like
let ext = require('./extensions/' + name + '/bundle.js');
ext.route();
is that possible?
The text was updated successfully, but these errors were encountered:
❔ Question
I am developing CMS and main feature is other developers are able to develop extensions. Each extension is a separate bundle file. Use may install those extensions through a special extensions store. After installing it menu element will appear to navigate to it.
So basically I need import based on a variable. Use open URL
/users/list
whereusers
is the name of extension. So I know bundle is located at/extensions/user/bundle.js
so in a router I have to load that bundle and then execute extension router. Something likeis that possible?
The text was updated successfully, but these errors were encountered: