I really love single file components. We are extending the syntax more by also adding <specification> and <requirements> tags to single file components. Great for automatically generating documentation and keeping it in the same place as the components. Was a bit afraid that the compiler would protest, but so far so good.
back
1 comments
Where do you put the elements? Next to the <template> or inside it?
Next to it, so that it doesn't interfere with either <style>, <script> or <template>.