Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use plugin without referencing "template" variable. #14

Open
lephuongbg opened this issue Aug 2, 2017 · 1 comment
Open

Use plugin without referencing "template" variable. #14

lephuongbg opened this issue Aug 2, 2017 · 1 comment
Assignees

Comments

@lephuongbg
Copy link

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:

  1. With other loaders, .vue files should always export its definition as an object.
  2. If 1 is satisfied, we could execute the content of the script and inject template to returned value.
@edgardleal
Copy link
Owner

Excellent point. I will work on it, but keep working with both methods.

I will close this issue when it is ready.

@edgardleal edgardleal self-assigned this Aug 2, 2017
@edgardleal edgardleal added this to the 1.0.9 milestone Aug 2, 2017
@edgardleal edgardleal removed this from the 1.0.9 milestone Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants