Skip to content

Commit 1952805

Browse files
committed
Actualize systemjs config
1 parent b0cc181 commit 1952805

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/using-systemjs.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ Follow the [installation](https://github.com/DevExpress/devextreme-angular#insta
1717
Modify the references in the index.html file as follows:
1818

1919
```html
20+
<!-- DevExtreme stylesheets -->
2021
<link rel="stylesheet" type="text/css" href="node_modules/devextreme/dist/css/dx.common.css" />
2122
<link rel="stylesheet" type="text/css" href="node_modules/devextreme/dist/css/dx.light.css" />
2223

2324
<!-- Polyfill(s) for older browsers -->
2425
<script src="node_modules/core-js/client/shim.min.js"></script>
2526

2627
<script src="node_modules/zone.js/dist/zone.js"></script>
27-
<script src="node_modules/reflect-metadata/Reflect.js"></script>
2828
<script src="node_modules/systemjs/dist/system.src.js"></script>
2929

3030
<script src="systemjs.config.js"></script>
@@ -45,7 +45,7 @@ Modify the 'systemjs.config.js' file as follows:
4545
```js
4646
paths: {
4747
// paths serve as alias
48-
'npm:': '../node_modules/'
48+
'npm:': 'node_modules/'
4949
},
5050
map: {
5151
// our app is within the app folder
@@ -69,9 +69,8 @@ map: {
6969
'angular2-in-memory-web-api': 'npm:angular2-in-memory-web-api'
7070
},
7171
packages: {
72-
'app': { main: 'main.js', defaultExtension: 'js' },
72+
'app': { defaultExtension: 'js' },
7373
'rxjs': { defaultExtension: 'js' },
74-
'angular2-in-memory-web-api': { main: 'index.js', defaultExtension: 'js' },
7574
'devextreme-angular': { main: 'index.js', defaultExtension: 'js' }, // <== add this line
7675
'devextreme': { defaultExtension: 'js' } // <== add this line
7776
}

0 commit comments

Comments
 (0)