-
Notifications
You must be signed in to change notification settings - Fork 3k
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
HTML partial support #890
base: master
Are you sure you want to change the base?
HTML partial support #890
Conversation
Gulp will now scan default @@tags in html files and replace those with content of included files To follow the live-reloading functionality, html files are now watched and compiled to the .tmp folder
The proposed structure is based on the components from material design lite. *basic.html is intentionally left untouched
Written a tiny description of included changes.
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
I signed it! |
CLAs look good, thanks! |
Any news on this? |
I pulled these changes into my project and it worked a charm. +1 to add this to main branch. |
I would like to suggest that instead of constraining partials into a folder, they could instead be prefixed with an underscore. This would leave more room with folder structure and seems compliant with what is usually done with Sass. |
As mentioned in #889, provides a basic ability to separate big and ugly html files into smaller partials, without adding any complicated template engine.