mirror of
https://github.com/ae-utbm/sith.git
synced 2026-08-26 07:09:16 +00:00
update doc in js-import-paths.md
This commit is contained in:
@@ -17,17 +17,15 @@ D'abord, il faut ajouter dans node via `package.json`:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Ensuite, pour faire fonctionne l'auto-complétion, il faut configurer `tsconfig.json`:
|
Ensuite, pour faire fonctionne l'auto-complétion, il faut configurer `tsconfig.bundled.json`:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
|
||||||
// ...
|
// ...
|
||||||
"paths": {
|
"paths": {
|
||||||
// ...
|
// ...
|
||||||
"#mon_app:*": ["./mon_app/static/bundled/*"]
|
"#mon_app:*": ["./mon_app/static/bundled/*"]
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user