Closed scruffymongrel closed 9 months ago
Yep absolutely, I'd definitely be happy to do that. That's something I missed due to using .replace
instead of .replaceAll
.
I can update next week, or you're welcome to make a PR with that change.
Excellent. Have created a PR (#34). Thanks :)
I have components organised as follows:
In my Vite entry file, I'm using
AsyncAlpine.alias('components/[name]/[name].island.js')
.As only the first instance of
[name]
is replaced, I get a 404 on http://localhost:5173/components/Button/[name].island.js.If I remove the second instance of
[name]
and renameButton.island.js
toisland.js
, everything works as expected.Would you be happy to enable replacement of multiple instances of
[name]
inAsyncAlpine.alias()
?