Postovi

Creating a new web app using create-react-app and Spring Boot

React is awesome. We know it, we love it. However, we also know that setting it up can be a bit of a pain the neck. Well, not setting up React itself but all the goodies that you usually want when developing a web app with React, such as  Webpack , Babel and ESLint. Fortunately,  the good people at Facebook are well aware of this so they created an official, easy-to-use way to quickly set up a React app: create-react-app . Here's how to get your app up and running in no time: First, if you haven't already, install create-react-app (I'm using npm but, of course, nothing is stopping you from installing it with your prefered package manager): $ npm install -g create-react-app Then, create the app: $ create-react-app boot-react-example The example app that we're creating here will be, very imaginatively, called boot-react-example. Wait until create-react-app does its thing and... that's it! No messing about with configuration files, no problems. That was
Nedavni postovi