-
Notifications
You must be signed in to change notification settings - Fork 179
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
Nuemark: How to add svg inside a button #277
Comments
I have made a small change in the nuemark code to enable svgs and other components inside of buttons now. The only limitation I found was that the components cant be inside the layout.html, needs to be in a .nue file. Is this something that is worth creating a pull request for? |
Sure, give it a try, maybe we even find a way to allow layout components.
|
Closing, see: #280 (comment) |
Describe the Bug
Using Nuemark, I can't get this example to work. The only way I found to get around it is to make the button a div, but that is not the behaviour I'm after.
This doesn't work:
[button]
[mysvg]
Learn More
This works but isn't a button:
[button]
[mysvg]
Learn More
Environment
Example:
Minimal Reproduction
bun create nue
@name="mysvg"
The text was updated successfully, but these errors were encountered: