Hro
Explore posts from serversFresh project with nuxt ui pro and pnpm
I am getting ERROR Named export 'compile' not found. The requested module 'tailwindcss' is a CommonJS module, which may not support all module.exports as named exports. on a monorepo with nuxt 3 & nuxt ui 3.
Not sure what the cause is of this. Can anyone provide some guidance?
10 replies
How to close programmatically opened nuxt ui modal from within the modal
I have a modal that opens like this:
modal.open(SomeModal, {onClose() => {console.log('closed')})
When clicking outside the modal, it console logs properly, however, when I call modal.close() from inside the modal it does not.
What's the proper way to close the modal from inside? (a cancel button for example)3 replies
history.replaceState error in safari when having many components with actions
So, when I have a lot of components that use actions, I get history.replaceState in safari (or its equivalent in chrome)
SecurityError: Attempt to use history.replaceState() more than 100 times per 10 seconds
I have looked around and could not really find a similar issue.
4 replies
Fill defaults on create with $attributes from model
Hi,
Wondering if I am overlooking something.
I would love to always fill the defaults in the form based on the default attributes in the model.
Currently I am adding this to the mount in the create pages:
But I kinda feel this should be done already somehow?
3 replies