javascript - How to access riot and router objects from within RiotJS tag script, when webpacked with riot-tag-loader -


when use riot-tag-loader webpack tags, neither riot or route object defined inside script area or inline scripts. enter image description here

i have router tag, , works a href hashes. way can't change location programmaticaly. without webpack works charm. works in official webpack demo, after stepping es6. webpack config more complex, hack might there.

i have created minimal test case here: https://github.com/zorgoz/psilog.bughunt

please take , advise. thank you!


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -