lasso-js/lasso

lasso-page bug

Opened this issue · 2 comments

Hello. I have found unusial bug, lasso-page doesn't always work.

Please, clone https://github.com/FiW/lasso-page-bug.git to reproduce.

I think that:

  • we must see 'test1' and 'test2' in console (but only 'test2')
  • name for static cache must be 'home' (but 'layout')

or is this my mistake?

PS: marko & lasso are awesome ;)

I have found hack for this trouble.

kuznetsov-online/lasso-page-bug@0f623bc

I'm having the same issue. I think the problem is that there are two browser.json files. Dependencies specified in the browser.json file of the layout are included in the HTML, but dependencies specified in the page browser.json are not. I'd like to see a fix for this.