I'm following along with the Choose ES6 Modules Today guide, and I noticed one of the import statements he's using has an exclamation mark at the end:  import 'bootstrap/css/bootstrap.css!';  What does that exclamation mark signify?...
I see in various JavaScript files lately the following string at the top:  "format register";   What is this for?  I see it in angular 2 and systemJS library files....
I am trying to run some unit tests for few days now without success. My application is written in typescript (the unit tests are written in typescript as well). Here is my karma configuration file:  module.exports = function (config) {   config.set({...
This is the index.html with angular-alpha35:      <html>     <head>         <meta charset="UTF-8">         <base href="/">         <title>APP Ang2</title>         <script src="scripts/traceur...
I want to use a library ip-address with SystemJS (note, this question may look similar but it is a different problem I ran into trying while trying to accomplish this task).  The library ip-address depends on util-deprecate.  It imports it as follows...
I'm trying to use bootstrap-tagsinput library in my Angular2 project. The library is installed using package.json file:    "dependencies": {     ...     "bootstrap-tagsinput": "^0.7.1",     ...   }   Now I have a bootstrap...
I'm using SystemJS to load my es2015 project into the browser.   This is what I did  import {Observable} from 'rxjs/Rx';  const button = document.querySelector('button'); const start$ = Observable.fromEvent(button, 'click'...
This code is supposed to display a div containing Hello World, but instead I receive the error Uncaught TypeError: System.import is not a function. I'm following the getting started tutorial video for ng-book2, which contains the following code i...
Using TypeScript with SystemJS, how can I import a JSON file using plugin-json?  If I write System.import('myjson.json!json').then(...) then it imports it asynchronously and not as a part of System.register([...]).  So, how can I import a JSO...
I'm trying to figure out a good production workflow that plays nice with the development workflow. The need is to exclude 1MB of external libraries from the build, then use a CDN to host them separately. So we have this:  <script src="jspm...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.