exodeui 6.3.34 → 6.3.36
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 +14 -0
- package/dist/index.js +30 -30
- package/dist/index.mjs +2955 -2941
- package/package.json +5 -1
- package/vite-plugin.js +13 -0
package/README.md
CHANGED
|
@@ -10,6 +10,20 @@ npm install exodeui
|
|
|
10
10
|
yarn add exodeui
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
## Setup (Vite)
|
|
14
|
+
If you are using Vite, you must add the Exode Vite plugin to your `vite.config.ts` so Vite knows how to read `.exode` animation files natively:
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
// vite.config.ts
|
|
18
|
+
import { defineConfig } from 'vite'
|
|
19
|
+
import react from '@vitejs/plugin-react'
|
|
20
|
+
import { exodePlugin } from 'exodeui/vite-plugin'
|
|
21
|
+
|
|
22
|
+
export default defineConfig({
|
|
23
|
+
plugins: [react(), exodePlugin()],
|
|
24
|
+
})
|
|
25
|
+
```
|
|
26
|
+
|
|
13
27
|
## Basic Usage
|
|
14
28
|
|
|
15
29
|
```tsx
|