vite-plugin-spiral 0.1.0 → 0.1.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 +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,6 +8,18 @@ Vite integration for Spiral applications. It configures backend-friendly manifes
|
|
|
8
8
|
npm install -D vite-plugin-spiral
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
For Spiral Stempler integration, also install the PHP bridge and publish its config:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
composer require chianglintu/spiral-vite-bridge
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
The bridge ships `config/vite.php`, which should be published to `app/config/vite.php`. In standard Spiral apps this happens automatically through `spiral/composer-publish-plugin`; otherwise copy it manually:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
cp vendor/chianglintu/spiral-vite-bridge/config/vite.php app/config/vite.php
|
|
21
|
+
```
|
|
22
|
+
|
|
11
23
|
Install `fontaine` only when using metric-optimized font fallbacks:
|
|
12
24
|
|
|
13
25
|
```bash
|