Ever since we launched support for JS files, people have expressed interest in adding more and more IDE features, which I think is great! We love making improvements to the app so you can be more productive.
Here are some things that we will make to improve JS and CSS editing:
We will add support for importing local JS and CSS files by dragging and dropping them. This will create local copies in your design. Editing these files in Bootstrap Studio won't modify the original files on disk.
We will add the ability to Link to external JS/CSS files by URL. This will be handy when adding libraries from CDN.
I think that this will be a nice improvement. Also another thing that we should do is to allow JS and CSS files to be reordered. Their order affects the way these assets are included into the page, and you need control over this so that, for example, libraries are available before you use them.
@saj, when exported linked JS/CSS files will only be inserted as script/link tags in the document which point to the CDN, they won’t be written as files.
All other CSS/JS assets will still be written to disk as files, as they are now.
Hi Martin,
as told by email a nice feature will be the ability to link a JS file to a specific HTML file, to take advantage about page init functions that are page-specific (without need to have complex initialization functions that understand what is the page that is opening them)
This feature was released with version 2.1 of Bootstrap Studio. We also added the ability to reorder assets so you can control the order in which they are included in your page.