Skip to content

Commit

Permalink
readme: compatibility table
Browse files Browse the repository at this point in the history
  • Loading branch information
dakujem committed Apr 18, 2022
1 parent 46d713f commit 64941b2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ It provides a way to generate `<script>` and `<link>` tags to desired assets.

## Vite

Vite has 2 parts: _development server_ and _bundler_.
Vite consists of 2 parts:
- _development server_
- and _bundler_.

To integrate a JS app, the backend must output snippets like these:
- files from a _bundle_ (production)
Expand Down Expand Up @@ -128,8 +130,14 @@ $bridgeService->populateCache();
```


## Compat**ibility
## Compatibility

Please note that this tool (Peat) is tightly coupled with the workings of Vite.

Currently, Peat supports Vite version `^2`.

| PHP | Peat | Vite |
|:----------|:-----|:-----|
| 7.4 - 8.1 | 1.* | 2.* |


0 comments on commit 64941b2

Please sign in to comment.