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:
parent
a5df3594d3
commit
bbb1029385
1 changed files with 7 additions and 0 deletions
|
|
@ -123,6 +123,13 @@ This will create `airwire.ts` and `airwired.d.ts`. Open your `app.ts` and import
|
|||
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.
|
||||
|
||||
## PHP components
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue