-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
docs imply <html> etc added for you #54
Comments
Ah, yeah. I think that’s a docs issue. WebC has two rendering modes for the output HTML: Line 61 in 7e4558b
I think the safest thing is to update the docs to include a doctype for these examples, but starting them with The other point of discussion might be if it’s worthwhile to add another check for |
Docs updates are deploying, thank you! |
Ah ok, now I get it. Wondering if the two modes should be noted anywhere? It's sort of implied with the changes you made to the docs, but something explicit would be useful to have written down |
Filed at #64 thanks! |
In the section of the readme "html imports (kidding... kinda)" it is implied that the
<html>
,<!doctype>
etc get added for you but this doesn't appear to the case. Given the following, as described in the readme:page.webc:
components/my-component.webc":
and the following JS:
the docs say:
I do not see
<doctype>
etc in the output, i just see:Here's a stackblitz showing the issue. Check the output of the console https://stackblitz.com/edit/webc-html-doc-type-added
Wondering if this is a bug or a docs issue?
The text was updated successfully, but these errors were encountered: