systemjs-plugin-text

0.0.11 • Public • Published

text

SystemJS's text loading plugin. Text is loaded from the file into the variable as a string.

Installing

For SystemJS use, locate text.js in the application, and then locate it with map configuration:

System.config({
  map: {
    text: 'path/to/text.js'
  }
});

For installing with jspm, run jspm install text.

Basic Use

import myText from './mytext.html!text';

Readme

Keywords

none

Package Sidebar

Install

npm i systemjs-plugin-text

Weekly Downloads

8,170

Version

0.0.11

License

MIT

Last publish

Collaborators

  • guybedford