Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

systemjs/plugin-text

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Sep 15, 2015
Nov 6, 2013
Jun 10, 2017
Jun 10, 2017

Does not currently support SystemJS 1.0+. PR's welcome

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';

About

Text plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •