https://github.com/irustm/jspm-angular
Small jspm example with Angular
https://github.com/irustm/jspm-angular
Last synced: 2 months ago
JSON representation
Small jspm example with Angular
- Host: GitHub
- URL: https://github.com/irustm/jspm-angular
- Owner: irustm
- Created: 2019-05-19T15:54:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-19T16:10:02.000Z (about 6 years ago)
- Last Synced: 2025-03-26T13:06:26.143Z (2 months ago)
- Language: HTML
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular 7.2.15 with jspm2 example
## Only development! JIT mode### Guide
```
jspm install
npm install
```Start develop:
```
jspm run start
jspm run compile:watch
```Generate full importmaps:
```
jspm run map
```## FAQ
1. https://jspm.org/docs/guide Import Maps are currently an experimental feature in Chrome 74 (April 23 release). To use Import Maps in Chrome, first enable the Experimental Web Platform Features flag in chrome://flags, or copy the URL below directly:
```
chrome://flags/#enable-experimental-web-platform-features
```2. Browser without --experimental-modules, but
```
import core from '@angular/core';
@core.Component({
...
```
If desired, you can turn on transpiler.### TODO
- Add transpiler
- Add builder to production (AOT)