Skip to content

brianzinn/create-react-app-typescript-babylonjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was bootstrapped with Create React App (CRA) v4 and then babylonjs-react was added. For TypeScript

npx create-react-app your-babylonjs-app --template typescript

Add babylonjs dependencies:

yarn add react-babylonjs
yarn add @babylonjs/core
yarn add @babylonjs/gui
# loaders are optional
yarn add @babylonjs/loaders

All of the code for the site is in /src/App.tsx

In the project directory, you can run:

npm start / yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

View live demo

About

BabylonJS + TypeScript + Create React App Starter Kit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published