Skip to content

SyncfusionExamples/ej2-react-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Essential JS2 React sample with router and webpack.

In this sample we are using the webpack to compile the tsx file and generate a whole bundle which can be used in static html page.

Please follow the below steps for using webpack compilation.

Prerequisites

Install Node.js and npm (v6.6.0 or newer) if they are not already installed on your computer.

Verify that you are running at least node v6.x.x and npm 3.x.x by running node -v and npm -v in a terminal/console window. Older versions may produce errors.

Install the webpack globally using the following command after node installation.

npm i -g webpack@2.6.1

Steps to build it

Use the following command to install the dependent npm packages from the command prompt.

npm install

Run the application by using following command:

npm start

Open your browser and navigate to http://localhost:3000/ to view the application.

About

EJ2 react sample with router and webpack bundling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7