Uncaught SyntaxError: Unexpected token export Slim.js:1
@atla5 I have updated your fiddle https://jsfiddle.net/0au28sw5/24/
The changes I made:
If you load slim.js from CDN you should either use
<script type="module" src="..."></script> or in the case of jsfiddle, es modules aren't built-in so you should use the
...path/Slim.nomodule.js, same for directives.
I removed the import statements as in your fiddle slim was loaded from the HTML wrapper and not via npm modules.
Since v4.x the directives are split into separate files, there is an "/directives/all.js" or "/directives/all.nomodule.js" to support it.
Since v3.x as it was completely rebuilt the syntax is more concise, so this was also changed.