-
Notifications
You must be signed in to change notification settings - Fork 25
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
Not triggered on different env? #92
Comments
YES, I was wondering the same.... please advise... why does not run on different mode? |
I have experienced the same issue. Running npm run build -- --mode production creates multiple html files while using npm run build -- --mode development creates only one html file. I have the onlyProduction option set to false in my vue.config.js. Has anyone found a solution to that? |
I have done some additional research on this. The problem is in index.js on line 139. The reason for this is linked with issue #16 . The issue itself is fixed with a workaround and has not been addresed directly. This should be properly fixed before reenabling the feature. |
I find onlyProduction: false, does not work in dev mode, (no compiled index.html is created) but does in production. |
Describe the bug
If I run the build with
npm run build -- --mode=prod (or any other env)
the prerender does not trigger.
How do I trigger it with different env settings?
The text was updated successfully, but these errors were encountered: