0
Ng2-bootstrap'i açısal olarak kullanarak sorunlar alıyorum 2. SystemJS, node_modules dizinine anı çözemiyor, bunun yerine göreceli bir yoldan şikayet ediyor. angular2 systemJs nispi yol sorunu
Bu
Herkes yardımcı olabilir ithalatimport { TOOLTIP_DIRECTIVES } from 'ng2-bootstrap';
kullanarak bir yolla inşa edilmiş bir bileşenden başvurulmaktadır?
Şimdiden teşekkürler.
<script src="~/node_modules/systemjs/dist/system.src.js"></script>
<script src="~/node_modules/es6-shim/es6-shim.min.js"></script>
<script src="~/node_modules/angular2/bundles/angular2-polyfills.js"></script>
<script src="~/node_modules/moment/min/moment.min.js"></script>
<script src="~/node_modules/ng2-bootstrap/ng2-bootstrap.js"></script>
<script>
System.config({
defaultJSExtensions: true,
baseURL: '/ECAV.Admin/node_modules',
packages: {
'app': { format: 'register', defaultExtension: 'js' },
'rxjs': { defaultExtension: 'js' }
},
paths: {
'angular2/*': 'angular2/*',
'rxjs': 'rxjs/bundles/Rx.js',
'linqsharp': 'linqsharp/built/linqsharp',
'highcharts': 'highcharts',
'ng2-highcharts': 'ng2-highcharts/ng2-highcharts',
'lodash': 'lodash/lodash',
'ng2-bootstrap':'ng2-bootstrap/ng2-bootstrap'
},
map: {
moment: 'moment/moment.js'
}
});
</script>
<script src="~/node_modules/rxjs/bundles/Rx.js"></script>
<script src="~/node_modules/angular2/bundles/angular2.dev.js"></script>
<script src="~/node_modules/lodash/lodash.js"></script>