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

Improve installation instructions

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

View file

@ -111,7 +111,13 @@ mix.webpackConfig({
})
```
Next, run `php artisan airwire:generate` to generate the initial TS files. This will create `airwire.ts` and `airwired.d.ts`. Open your `app.ts` and the former:
Next, generate the initial TS files:
```
php artisan airwire:generate
```
This will create `airwire.ts` and `airwired.d.ts`. Open your `app.ts` and import the former:
```ts
import Airwire from './airwire'