jackbsteinberg / std-toast

120 stars 4 forks source link

Problem with importing #38

Closed lxender closed 5 years ago

lxender commented 5 years ago

Hey,

I ran into a problem when trying to mess with the element. I enabled all built-in modules related flags in my Canary installation (latest version) and I can use std-switch but I'm getting "Unexpected data error" when trying to import this element.

The url I'm using is taken from the readme --- std:elements/toast.

Additionally, it would be cool if you'd mention the flags that need to be enabled in order for this to work in the readme. My best guess was to search for "built-in" and enable them all 😄

My enabled flags: chrome-flags

jackbsteinberg commented 5 years ago

Hey @lxender,

The issue tracker here is for the standard, not specifically Chrome's implementation, so you'll need to file a bug on crbug for this issue. Try the next installation of Canary though, I believe some changes to the file structure were made and this behavior should work!

Thanks for engaging 😃!