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.
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
Post a Comment