While this is not directly stated in the documentation, judging from the problems I have and browsing through the source code and tests, rollup-plugin-vue does not properly support functional templates (unlike vue-loader).
My components compile without any problems and warnings, but throw errors when used in runtime. These problems are related to render context. I do have webpack and vue-loader configured in parallel and the same components work with the latter combination without any problems.
Am I right in my guess about the functional templates? Can this support be implemented?
Functional components are not yet supported. It would be supported in a couple of weeks.
Any updates on this?
There is an experimental release (v4.0.0-alpha.1) which is using new vue-component-compiler. It would have multiple breaking changes in coming weeks.
Shipped in v4.0.0
Most helpful comment
Shipped in v4.0.0