How to convert HTML Template to React Js Template

In this Post I am explains about Basic HTML template to React Js Template conversion. First you need to install sample React Js Project using below command. npx create-react-app html-to-react-app Take your HTML template (I downloaded My HTML template from https://templated.co/industrious). Create two folders “src/assets” and “public/assets” in your react project. Copy all your HTMLContinue reading “How to convert HTML Template to React Js Template”

How to do custom format dates in React Js

First Create New React Project using below command create-react-app date-format cd date-format Create functional component named as date-format.js import React from ‘react’; const Date = (props) =>{ // ============ Code Here ========== } export default Date; Create Array with all months Data const montsArr = [“”,”January”, “February”, “March”, “April”, “May”, “June”, “July”, “August”, “September”, “October”,Continue reading “How to do custom format dates in React Js”

User Authentication in ReactNative using ReactNavigation

Install Reactnative Cli globally. npm install -g react-native-cli Create a project react-native init ReactNativeBasicAuthentication Install Pre requests like react navigation and react native elements npm install –save react-navigation npm install –save react-native-gesture-handler npm i react-native-elements –save npm i –save react-native-vector-icons react-native link Here User authentication details save in local storage of the mobile. so replaceContinue reading “User Authentication in ReactNative using ReactNavigation”

How to convert HTML Template to Angular 6 Template

First, download any HTML Template from the web. (I downloaded from here). Create an Angular application using angular-cli ng new angular-template Copy all the folders and files in downloaded template past it in src/assets folder(Except HTML files). Then Include these files into angular.json file scripts and styles section. “styles”: [   “src/styles.css”,   “src/assets/css/custom.css”,  Continue reading “How to convert HTML Template to Angular 6 Template”

Create your website with WordPress.com
Get started