Answer the question
In order to leave comments, you need to log in
How to build a modular SPA correctly?
I want to make a modular web application with its subsequent assembly in electron, so that third-party developers can write plugins for it. As well as plugins for the browser version, the code of which, for example, will be stored in localstorage. What is the best way to organize this? Or is this a generally bad idea? I roughly imagine that it is possible to make a repository of plugins for an application in which they will need to be registered, but I would like it to be independent.
Answer the question
In order to leave comments, you need to log in
Base on https://github.com/thiagobustamante/typescript-ioc so that plugins can easily access various system components.
Typescript can run in a browser https://github.com/Microsoft/TypeScript/wiki/Using... and process normal js code.
https://github.com/Microsoft/monaco-typescript - the most advanced ts/js editor for the web
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question