-
Notifications
You must be signed in to change notification settings - Fork 94
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
feat: Add support for vite serve
#6765
Conversation
0eb33fa
to
3dd2f2f
Compare
Thanks a lot for looking into this. ❤️ I'm super happy this works. I have two suggestions:
|
I tried to follow the instructions. However now I am seeing this in the proxy logs:
Maybe the ip addresses are different for me? Update ahh... reading helps
|
Thanks for testing it out @max-nextcloud. I added support for a nginx config drop-in to nextcloud-docker-dev in the meantime: juliusknorr/nextcloud-docker-dev#367 This approach is also the reason why I'd keep the default port of
Yes, that's adjusted now as well. The PR to |
8219fa3
to
15c5182
Compare
Unfortunately the approach to make vite serve text at |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6765 +/- ##
=======================================
Coverage 46.86% 46.86%
=======================================
Files 747 746 -1
Lines 34012 34010 -2
Branches 1240 1239 -1
=======================================
Hits 15940 15940
+ Misses 17451 17450 -1
+ Partials 621 620 -1 ☔ View full report in Codecov by Sentry. |
Fixes: #6732 Signed-off-by: Jonas <[email protected]>
Use the same filename for source file and compiled asset. Signed-off-by: Jonas <[email protected]>
15c5182
to
1ba2f4b
Compare
When using [nextcloud-docker-dev](https://github.com/juliusknorr/nextcloud-docker-dev), add the following snippet to `data/nginx/vhost.d/nextcloud.local` and restart the proxy container. You might have to replace `/apps/text` with e.g. `/apps-extra/text` depending on where the text app resides in your dev setup. | ||
``` | ||
location /apps/text/ { | ||
proxy_pass http://host.docker.internal:5173/apps/text; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
proxy_pass http://host.docker.internal:5173/apps/text/;
I needed this traling slash to make it work 🤷
Fixes: #6732
🚧 TODO
🏁 Checklist
npm run lint
/npm run stylelint
/composer run cs:check
)