3 ms·
Easy? No, I believe it's very hard to setup a frontend project.
by ffang 9y ago
Easy? No, I believe it's very hard to setup a frontend project.
- cc81 9y ago1. install node.js 2. npm install create-react-app 3. create-react-app your-app 4. npm start Now you have a react app with a development up and running. To create a production build write "npm run build". To add a package write "npm install the-package".
- shados 9y agoIt's just as easy as it always was. Put a script tag pointing to your favorite tool in a blank html page, and get going. Oh, you mean setting up a state of the art web application? Years ago we had to roll our own pipeline, often building our own bundler and you had to use a ton of separate tools not meant to work together. There was no package manager so we had to download all of the stricts from random websites and hope for the best sticking them in a /vendor folder. Nowaway you use the CLI of your favorite framework, type 1 command and you have an app all configured for a real world production environment. It's never been easier (and is easier than pretty much any other type of software development). The only thing that changed is that since its so easy, you are expected to produce a high quality app if you want to be taken seriously. That part is hard.
- csmiller 9y agoIt's incredibly easy, given that every major framework has a cli that does it all for you.