require-vuejs
require-vuejs copied to clipboard
Use plugin without referencing "template" variable.
It would be nice to not be required to reference the template variable in the component object. That would make .vue file definition more align with other loaders.
Some insights:
- With other loaders,
.vuefiles should always export its definition as an object. - If 1 is satisfied, we could execute the content of the script and inject template to returned value.
Excellent point. I will work on it, but keep working with both methods.
I will close this issue when it is ready.