riot / compiler

Riot.js compiler
MIT License
64 stars 29 forks source link

ImportExpressions are not supported #131

Closed GianlucaGuarini closed 4 years ago

GianlucaGuarini commented 4 years ago

Recast doesn't support ImportExpressions. We need to find a solution to enable them in Riot.js tags. The following code should be compiled properly

<app>
   <p>hello</p>
   <script>
      export default {
         components: { user: import('./user.riot') }
      }
   </script>
</app>