Skip to content

piscaj/react-mui-ch5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example project for kick starting a React project using Crestron's cr-com-lib. This project uses MUI library and is built without using Crestron's CH5 components.

Project tested on TS-1070 with responsive design to work on mobile.

Basic SIMPL program included and archive of project in the Example folder.

.env file has config for Crestron processor.

This project uses FontAwesome Pro, so a few modifacations may be needed if you don't have a licence. No licence? change dependencies to Free version and adjust icon imports in project where needed.

Note: The com library will have importing problems to index.js when first installed.

To fix this do the following:

1.	Open: node_modules/@crestron/ch5-crcomlib/package.json
2.	Change: "types": "build_bundles/umd/@types/index.d.ts"
	Replace with: "types": "build_bundles/cjs/@types/index.d.ts", "main": "build_bundles/cjs/cr-com-lib.js",

NPM Scrips included to...

  1. "build:archive" = This will build the React app and create a .ch5z
  2. "build:deploy" = Loading touchpanel. You can change this to fit your needs
  3. "build:deploy:mobile" = Loading mobile. You can change this to fit your needs
  4. "build:deployweb" = Loading web. You can change this to fit your needs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages