8000 Customize ending of what constitutes a clientside component · Issue #493 · nuejs/nue · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Customize ending of what constitutes a clientside component #493

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

Open
wgehner opened this issue Feb 21, 2025 · 0 comments
Open

Customize ending of what constitutes a clientside component #493

wgehner opened this issue Feb 21, 2025 · 0 comments
Labels
new feature New feature or request nuekit Related to nuekit package

Comments

@wgehner
Copy link
wgehner commented Feb 21, 2025

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

@wgehner wgehner added the bug label Feb 21, 2025
@nobkd nobkd added new feature New feature or request and removed bug labels Feb 22, 2025
@nobkd nobkd added the nuekit Related to nuekit package label Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request nuekit Related to nuekit package
Projects
None yet
Development

No branches or pull requests

2 participants
0