mirror of
https://github.com/archtechx/airwire.git
synced 2025-12-12 10:44:03 +00:00
Add example tsconfig
This commit is contained in:
parent
bbb1029385
commit
c181c86cd4
1 changed files with 17 additions and 0 deletions
17
README.md
17
README.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue