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

Set Pug's doctype option to html by default #58

Open
aantipov opened this issue Apr 4, 2019 · 0 comments
Open

Set Pug's doctype option to html by default #58

aantipov opened this issue Apr 4, 2019 · 0 comments

Comments

@aantipov
Copy link

aantipov commented Apr 4, 2019

Pug's doctype option is set to html by default in pug-plain-loader.
The reasoning is also explained there:

The doctype option is set to html by default, since most Vue templates are HTML fragments without explicit doctype.

The same we should do here in component-compiler-utils (otherwise developers should figure it out and set it by themesevles vuejs/vue-jest#170)

I can create a PR if we agree to do it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant