<Widget in:foo/> <script> import Widget from './Widget.html'; export default { components: { Widget }, transitions: { foo() {} } }; </script>