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:
parent
6c7a761a60
commit
a5df3594d3
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
```ts
|
||||||
import Airwire from './airwire'
|
import Airwire from './airwire'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue