@styleui/vite-plugin 1.0.0 → 1.0.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 +6 -6
- package/dist/index.js +9 -9
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -41,11 +41,11 @@ Register the plugin in your `vite.config.ts` (or `vite.config.js`).
|
|
|
41
41
|
```typescript
|
|
42
42
|
import { defineConfig } from 'vite';
|
|
43
43
|
import react from '@vitejs/plugin-react';
|
|
44
|
-
import
|
|
44
|
+
import withStyleUI from '@styleui/vite-plugin';
|
|
45
45
|
|
|
46
46
|
export default defineConfig({
|
|
47
47
|
plugins: [
|
|
48
|
-
|
|
48
|
+
withStyleUI(),
|
|
49
49
|
react()
|
|
50
50
|
],
|
|
51
51
|
});
|
|
@@ -55,11 +55,11 @@ export default defineConfig({
|
|
|
55
55
|
```javascript
|
|
56
56
|
import { defineConfig } from 'vite';
|
|
57
57
|
import react from '@vitejs/plugin-react';
|
|
58
|
-
import
|
|
58
|
+
import withStyleUI from '@styleui/vite-plugin';
|
|
59
59
|
|
|
60
60
|
export default defineConfig({
|
|
61
61
|
plugins: [
|
|
62
|
-
|
|
62
|
+
withStyleUI(),
|
|
63
63
|
react()
|
|
64
64
|
],
|
|
65
65
|
});
|
|
@@ -69,11 +69,11 @@ export default defineConfig({
|
|
|
69
69
|
```javascript
|
|
70
70
|
const { defineConfig } = require('vite');
|
|
71
71
|
const react = require('@vitejs/plugin-react');
|
|
72
|
-
const
|
|
72
|
+
const withStyleUI = require('@styleui/vite-plugin');
|
|
73
73
|
|
|
74
74
|
module.exports = defineConfig({
|
|
75
75
|
plugins: [
|
|
76
|
-
|
|
76
|
+
withStyleUI(),
|
|
77
77
|
react()
|
|
78
78
|
],
|
|
79
79
|
});
|