We are going to be working on an scenario with different examples using Statefull and Stateless components, Reactrouter, JWT, Axios using get, post, put, delete, and Redux, so the things said before are going to be covered step by step on different posts, some of them are going to be just ReactJS and some of them are going to be with Springboot but there's any trouble for the ones who are just interested on the front-end side because it does not matter if the back-end is Springboot, Rails, Django JavaEE, Laravel and so on, anyway making this short the main goal about this very first topic is to be able to set up a gallery layout with more than one parent - child stateless component. a mini eCommerce!
we can work with any custom prebuilt html template on React, so for the purpose of the tutorial I just get some css styles just to display the things we are going to be working but you know with some more style!
ok so let's get started, copy any css and any js folders you feel comfortable on the public directory of your project (Get the project from GitHub) in other words your chosen template.
these steps are for the ones who want to work with a pre-built html template, after you have already copied your css and js folders on your pubic folder you've got to add to the index.html file which is inside the public folder the css links<link href=""> and the js <script src="">
in this case it would be something like this
we can work with any custom prebuilt html template on React, so for the purpose of the tutorial I just get some css styles just to display the things we are going to be working but you know with some more style!
ok so let's get started, copy any css and any js folders you feel comfortable on the public directory of your project (Get the project from GitHub) in other words your chosen template.
these steps are for the ones who want to work with a pre-built html template, after you have already copied your css and js folders on your pubic folder you've got to add to the index.html file which is inside the public folder the css links<link href=""> and the js <script src="">
in this case it would be something like this
so the project structure would look like like this, as I said before if you want to do it with another css files or js or a template which has got more files just set them up on the public folder
public
--css
--img
--js
--vendor
--favicon.ico
--index.html
--manifest.json
src
public
--css
--img
--js
--vendor
--favicon.ico
--index.html
--manifest.json
src
Comments
Post a Comment