Full stack ReactJS with ParcelJS and ExpressJS

preview_player
Показать описание
In this follow-up video to the full stack for create-react-app, I show how you can use ParcelJS to quickly and easily bundle files without all the extra stuff built in and get it served by the server when it runs.

Рекомендации по теме
Комментарии
Автор

Man you saved my day! I tried to run parcel on the front with Vue and Node server on the back, and couldn't remember that in a server file we need to make path to the parcel final /dist folder as static. I have spent a few hours until I found your video :). In that case we start parcel with 'parcel watch index.html' and parcel will not run it's own development server but use final files located in the /dist folder instead

adriatic
Автор

I think you have to do some crud operations between client and backend then you can check is it work and should work depends how you would like to adjust it. Currently you just have client working and backend working on it's own and at the end of video you tried to serve static files like is done during production so to see changes you would have to bundle every time and then probably you would see changes from build I think so.

xardass
Автор

With Parcel I have only found success getting HMR to function properly for client side changes using "parcel watch" on the client src folder. How were you able to get your client HMR Dev server and Node server to communicate? I've tried every variation of proxy I can find with no success. Would love to chat about this!

pandemicpandamonium
Автор

How do you get the command line panel inside of atom?

jessecrockett
Автор

You should brew install a nerd font to fix your terminal

JeanAlesiagain
Автор

you don't need to install parcel globally. "npm install parcel-bundler -D"

danel
welcome to shbcf.ru