You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to use pug for generating .html and .dhtml files.
Until supported by nue, I can use the pug-cli watcher, which converts all .pug to .html as a sort of preprocessing. Which doesn't allow me to generate .dhtml files.
For clientside components, I could name them mycomp.d.pug, which would generate a mycomp.d.html
So if I could tell nue through config that .d.html means the same as .dhtml and .htm that would address the issue. Or just add ".d.html" or even ".c.html" (c for client) to the file types recognized.
I've been using Riot.js for years, which supports pug in .riot files. So this feature would be crucial for migration.
Environment
all
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Describe the Bug
I'd like to be able to use pug for generating .html and .dhtml files.
Until supported by nue, I can use the pug-cli watcher, which converts all .pug to .html as a sort of preprocessing. Which doesn't allow me to generate .dhtml files.
For clientside components, I could name them mycomp.d.pug, which would generate a mycomp.d.html
So if I could tell nue through config that .d.html means the same as .dhtml and .htm that would address the issue. Or just add ".d.html" or even ".c.html" (c for client) to the file types recognized.
I've been using Riot.js for years, which supports pug in .riot files. So this feature would be crucial for migration.
Environment
all
The text was updated successfully, but these errors were encountered: