1
0
Fork 0
mirror of https://github.com/archtechx/airwire.git synced 2025-12-12 02:34:04 +00:00

Frontend installation instructions

This commit is contained in:
Samuel Štancl 2021-05-23 18:14:16 +02:00 committed by GitHub
parent a5df3594d3
commit bbb1029385
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,6 +123,13 @@ This will create `airwire.ts` and `airwired.d.ts`. Open your `app.ts` and import
import Airwire from './airwire' import Airwire from './airwire'
``` ```
If you have an `app.js` file instead of an `app.ts` file, change the file suffix and update your `webpack.mix.js` file:
```diff
- mix.js('resources/js/app.js', 'public/js')
+ mix.ts('resources/js/app.ts', 'public/js')
```
And that's all! Airwire is fully installed. And that's all! Airwire is fully installed.
## PHP components ## PHP components