We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ES 2015 "import" is not usable at the moment with riot .
Taken from this issue
<tag> <script> import baz from './baz' this.foo = 'bar' </script> </tag>
riot.tag2('tag','', function(opts) { import baz from './baz' // import here is not allowed this.foo = 'bar' })
I think the compiler needs to translate the import statement into a regular "import" .
import baz from './baz' // Will work this way riot.tag2('tag','', function(opts) { this.foo = 'bar' })
I will try to make thoses changes to the compiler .
The text was updated successfully, but these errors were encountered:
fixed in riot-compiler@2.5.0
Sorry, something went wrong.
No branches or pull requests
ES 2015 "import" is not usable at the moment with riot .
Taken from this issue
I think the compiler needs to translate the import statement into a regular "import" .
I will try to make thoses changes to the compiler .
The text was updated successfully, but these errors were encountered: