-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
symlink dist/
folder to .output/public/
#499
Comments
Ran into the same issue, couldn't figure out why the dist location was different until I came across this. |
The reason this module doesn't do that is that there was an issue with |
dist/
folder should to .output/public/
dist/
folder should to .output/public/
dist/
folder to .output/public/
@danielroe Thank you for linking the issue. I guess we are talking about the In my nuxt & ionic without module test project I could not reproduce this issue. Note: I am trying to get this in a codespace or something, but I don't know how to do a ionic/capacitor cli install there. I did however link the I also tested this with a So for me the workaround, whenever |
🆒 Your use case
When I use
nuxt generate
I would expect to get adist
folder symlinked to.output/public
so that the behaviour of this module is the same as standard Nuxt.🆕 The solution you'd like
Do a Nuxt generate,
pnpm generate
orionic:build
, where ionic build starts a generate (which it doesn't out of the box).And get a
.output/public
folder with the correct generated static site, so we can also use that folder. Or that thedist
folder is symlinked to the.output/public
like it normally does.It seems to me that there is no reason to do the static site generation different from default Nuxt. It could only introduce bugs or unexpected behaviour for developers / during deployment.
🔍 Alternatives you've considered
I am currently using the alternative to not use this module and instead use a Nuxt build with the Ionic framework and Capacitor libraries added by myself to the stack. I would love to use this module, but I think it is to WIP / unstable right now.
ℹ️ Additional info
No response
The text was updated successfully, but these errors were encountered: