Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesmartin/remote-svg-example
A simple example application that uses JSPM to load and use the Remote SVG module
https://github.com/jamesmartin/remote-svg-example
Last synced: 17 days ago
JSON representation
A simple example application that uses JSPM to load and use the Remote SVG module
- Host: GitHub
- URL: https://github.com/jamesmartin/remote-svg-example
- Owner: jamesmartin
- Created: 2015-08-24T11:25:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-26T10:58:52.000Z (over 9 years ago)
- Last Synced: 2024-10-27T04:49:34.119Z (about 2 months ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Remote SVG Demo
This is a really simple demonstration of how to install and use the [Remote SVG](https://github.com/jamesmartin/remote-svg) library.
Remote SVG is distributed exclusively via the [jspm](http://jspm.io) package management system. If anything in these instructions stops working, you should check the [jspm cli documentation](https://github.com/jspm/jspm-cli/wiki/Getting-Started), as things are moving fast at the time of writing.
Roughly, to recreate this demo project, follow these steps:
1. Initialize a new jspm project: `jspm init -y`
1. Install Remote SVG as a dependency: `jspm install remote-svg=github:jamesmartin/remote-svg`
1. See the [./index.html](./index.html) and [./lib/main.js](./lib/main.js) source files for usage
1. CSS styles are provided by the [./lib/style.css](./lib/style.css) file, via the [System JS CSS Plugin](https://github.com/systemjs/plugin-css)
1. Remember to run the app over HTTP (to keep Chrome happy). I use [live-server](https://www.npmjs.com/package/live-server)