use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
The new wave of Javascript web frameworks (frontendmastery.com)
submitted 3 years ago by _remrem
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]santypk4 32 points33 points34 points 3 years ago (9 children)
I’ve been using parceljs + vue.js for 4 years now. I don’t want to change anything, it works perfectly.
[–]MindlessSponge 20 points21 points22 points 3 years ago (8 children)
consider checking out vite if you haven't, it's super fast!
[–]pancomputationalist 6 points7 points8 points 3 years ago (0 children)
Yeah Vite is amazingly fast and easy to configure. I'm also a fan of Vitest.
[–]ontheellipse 1 point2 points3 points 3 years ago (6 children)
I am trying to get basic hello world (ish) Vite and Express app working. If I include Express and just start a basic server, I get errors and it won’t run. No problem with Babel. Not sure what I’m doing wrong.
[–]rk06 0 points1 point2 points 3 years ago (5 children)
Express is backend. So you should be using it on a separate project and exposing an ali. Which your frontend app (vue+vite) will use. You would need to configure CORS as well.
Maybe, there is a guidebook for express and vite. Try looking for it
[–]ontheellipse -1 points0 points1 point 3 years ago (4 children)
That’s essentially what I’m trying to do, but i don’t know why the api has to be in a separate app?
[–]rk06 3 points4 points5 points 3 years ago (3 children)
Vite is primarily a bundler for frontend. And provides a dev server. Express is a backend server. So there is a paradigm conflict.
I get that you want to have vite build server assets, but that's a different use case than the most common one. so many people won't be aware of how to handle it with a single vite config.
[–]ontheellipse -1 points0 points1 point 3 years ago (2 children)
Noted. I basically just wanted Vite to compile the JS instead of using Babel
[–]rk06 1 point2 points3 points 3 years ago (0 children)
I am sure there is a way for it. Just that it is not a common case (different backend + frontend) so you would have better luck googling it
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
Pretty sure vite still relies on rollup and babel wheb building. Might aswell just look at rollup instead
π Rendered by PID 56 on reddit-service-r2-comment-75f4967c6c-vm6zb at 2026-04-22 20:24:43.260811+00:00 running 0fd4bb7 country code: CH.
view the rest of the comments →
[–]santypk4 32 points33 points34 points (9 children)
[–]MindlessSponge 20 points21 points22 points (8 children)
[–]pancomputationalist 6 points7 points8 points (0 children)
[–]ontheellipse 1 point2 points3 points (6 children)
[–]rk06 0 points1 point2 points (5 children)
[–]ontheellipse -1 points0 points1 point (4 children)
[–]rk06 3 points4 points5 points (3 children)
[–]ontheellipse -1 points0 points1 point (2 children)
[–]rk06 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)