Skip to content

Commit

Permalink
Merge pull request ymm-tech#7 from ly525/patch-for-webpack-alias
Browse files Browse the repository at this point in the history
  • Loading branch information
mingyuanwei authored Aug 2, 2019
2 parents 044c507 + 88485bc commit c3e75aa
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,21 @@
"es6",
"dom"
],
"sourceMap": true
"sourceMap": true,
/**
* #6: fix Intellisense and go to definition for absolute path
* here you can learn more those links:
* 1. https://code.visualstudio.com/docs/languages/jsconfig
* 2. https://github.com/vuejs/vetur/blob/master/docs/setup.md#path-mapping
* 3. https://github.com/vuejs/vetur/issues/423#issuecomment-340235722
*/
// see more: https://github.com/vuejs/vetur/blob/master/docs/setup.md#path-mapping
// This must be specified if "paths" is set
"baseUrl": ".",
// Relative to "baseUrl"
"paths": {
"src/*": ["./src/*"],
}
},
"plugins": [{
"name": "tslint-language-service"
Expand Down

0 comments on commit c3e75aa

Please sign in to comment.