Pre-processor

You can specify a pre-processor with type attribute. For example:

  1. <my-component>
  2. <script type="coffee">
  3. # your coffeescript logic goes here
  4. </script>
  5. </my-component>

Your component will be compiled with the preprocessor selected only if it was previously registered before.