1
0
Fork 0
mirror of https://github.com/archtechx/airwire.git synced 2025-12-12 18:54:03 +00:00

Add example tsconfig

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

View file

@ -130,6 +130,23 @@ If you have an `app.js` file instead of an `app.ts` file, change the file suffix
+ mix.ts('resources/js/app.ts', 'public/js')
```
If you're using TypeScript for the first time, you'll also need a `tsconfig.json` file in the the root of your project. You can use this one to get started:
```json
{
"compilerOptions": {
"target": "es2017",
"strict": true,
"module": "es2015",
"moduleResolution": "node",
"experimentalDecorators": true,
"sourceMap": true,
"skipLibCheck": true
},
"include": ["resources/js/**/*"]
}
```
And that's all! Airwire is fully installed.
## PHP components