@ovnonvo/abc-editor 0.3.6 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -2
- package/dist/abc-editor.es.js +339 -617
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -36,14 +36,27 @@ This package requires the following peer dependencies:
|
|
|
36
36
|
```json
|
|
37
37
|
{
|
|
38
38
|
"react": "^18.0.0 || ^19.0.0",
|
|
39
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
39
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
40
|
+
"chamber-abc": "^0.2.0"
|
|
40
41
|
}
|
|
41
42
|
```
|
|
42
43
|
|
|
43
44
|
Install them if you haven't already:
|
|
44
45
|
|
|
45
46
|
```bash
|
|
46
|
-
npm install react react-dom
|
|
47
|
+
npm install react react-dom chamber-abc
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Next.js Usage
|
|
51
|
+
|
|
52
|
+
For Next.js projects, add the package to `transpilePackages` in your `next.config.mjs`:
|
|
53
|
+
|
|
54
|
+
```javascript
|
|
55
|
+
const nextConfig = {
|
|
56
|
+
transpilePackages: ['@ovnonvo/abc-editor', 'chamber-abc'],
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export default nextConfig;
|
|
47
60
|
```
|
|
48
61
|
|
|
49
62
|
## Usage
|