LivelyKernel / lively4-core

A Self-supporting, Web-based Development Environment
https://lively-kernel.org/lively4/lively4-core/start.html
MIT License
76 stars 25 forks source link

Improve API to add new persistent template pathes #405

Closed onsetsu closed 4 years ago

onsetsu commented 4 years ago

Current custom template pathes can be added using either:

lively.components.addTemplatePath(lively4url + "/your/path/")

OR

localStorage.lively4customTemplatePaths = JSON.stringify(currentPaths);

For persisted paths, add a usable API to ComponentLoader: