react-emulatorjs
Advanced tools
Comparing version
# react-emulatorjs | ||
## 2.1.0 | ||
### Minor Changes | ||
- another README update | ||
## 2.0.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "react-emulatorjs", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "React wrapper for emulatorjs", | ||
@@ -5,0 +5,0 @@ "author": "Dimitri Karpov <karpov.dimon@gmail.com>", |
@@ -86,1 +86,14 @@ # react-emulatorjs | ||
Checkout codesandbox [demo](https://codesandbox.io/p/sandbox/react-emulatorjs-3rm8c3) with this code. | ||
### using locally installed cores | ||
The most important option is `EJS_pathtodata`. This path points to emulatorjs's binaries. And the best performance option is keep whem close as possible, on Your sever. And it is very easy. | ||
- Just download `data` folder from [emulatorjs repository](https://github.com/EmulatorJS/EmulatorJS/tree/main/data) and copy in to Your `public` folder. For example, if You are using 'vite' data folder should be in `/public/data` folder. | ||
- Update prop with new path | ||
```typescript | ||
<EmulatorJS | ||
//... | ||
EJS_pathtodata="/data" | ||
/> | ||
``` |
Sorry, the diff of this file is not supported yet
94365
0.67%99
15.12%