Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-svg-jar

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-svg-jar

SVG assets support for your Ember project (WIP)

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9K
decreased by-67.07%
Maintainers
1
Weekly downloads
 
Created
Source

Ember SVG Jar (WIP)

Comprehensive SVG support for your Ember application.

Main features include:

  • a kick ass viewer for SVG assets
  • an easy to use helper for embedding SVGs to templates
  • automatic SVG files optimization (it can cut file size by half)
  • support both symbol and inline methods
  • compatibility with postcss-svg-fragments

Installation

$ ember install ember-svg-jar

How to try it in 3 minutes?

  • Install the addon and put some SVG files to any place in your public directory.

  • Run the development server: $ ember serve

  • Open the link below with Chrome: http://localhost:4200/ember-svg-jar/index.html

  • You should see your SVG assets there, select one and click Enter (it will copy it to the clipboard).

  • Paste it into any hbs template in your app.

  • Open a page with your browser that will render the modified template. You should see your SVG there.

That's about it! Docs and tests are comming very soon.

License

This project is distributed under the MIT license.


GitHub @ivanvotti  ·  Twitter @ivanvotti

Keywords

FAQs

Package last updated on 15 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc