christianalfoni / webpack-express-boilerplate

A boilerplate for running a Webpack workflow in Node express
MIT License
1.39k stars 291 forks source link

Clear instructions needed #28

Closed taylorsmithgg closed 8 years ago

taylorsmithgg commented 8 years ago

It took me almost 15 minutes (mostly reading your tutorial) to figure out how exactly you were intending to run the development server. I highly recommend that you put a short, simple solution in your readme.

christianalfoni commented 8 years ago

Well, I have spent a lot of hours getting to this point with the boilerplate, so compared to your 15 minutes I would still say that is still a success ;-) It would be really great if you created a pull request with the steps you took to get it working, I am not sure where it got confusing

vladinator1000 commented 8 years ago

Hey guys, noob here. It took a bit of time for me, but looks clear and understandable, more readme info would cut that down to 5 min :P Sorry for the stupid question, but can I replace the server.js with something like this and serve the front end "app" in the public folder?

mikeerickson commented 8 years ago

@christianalfoni appreciate your efforts! It always amazes me how demanding users can be for FREE software.

And for the record, it was pretty straight forward to me :)

christianalfoni commented 8 years ago

@mikeerickson Hehe, thanks for the support ;-)

@savovs That should be possible yes, though there are certain dependencies inside the current server.js files that needs to be included in the other thing there. Look at the two middlewares in server.js that points to webpack. Those needs to be there :)