Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

[Bug] It should compile vue files without <template> #18

Closed
posva opened this issue Sep 11, 2016 · 0 comments · Fixed by #23
Closed

[Bug] It should compile vue files without <template> #18

posva opened this issue Sep 11, 2016 · 0 comments · Fixed by #23

Comments

@posva
Copy link
Member

posva commented Sep 11, 2016

This is when you create a render function.

It should be enough to change at line 155:

    const template = nodes.template
            ? processTemplate(nodes.template, filePath, code, options)
            : null;
    if (options.compileTemplate && template) {

Everything else is just the same

@znck znck added the bug label Sep 11, 2016
@znck znck changed the title [Feature Request] Support vue files without <template> It should compile vue files without <template> Sep 11, 2016
@znck znck changed the title It should compile vue files without <template> [Bug] It should compile vue files without <template> Sep 11, 2016
znck added a commit that referenced this issue Sep 11, 2016
@znck znck closed this as completed in #23 Sep 11, 2016
znck added a commit that referenced this issue Sep 11, 2016
znck added a commit that referenced this issue Sep 11, 2016
* Compile .vue files without <template> section

fix #18

* Provide source map

fix #18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants