svg-viewbox-loader

    1.0.0 • Public • Published

    svg-viewbox-loader

    Install

    npm install svg-viewbox-loader --save-dev

    Usage

    <svg viewBox={require(`!svg-viewbox-loader!../images/icon.svg`)}>
      ...
    </svg>

    Note: Prefix ! in !svg-viewbox-loader! overrides all other loaders.

    Can also be used with https://github.com/kisenka/svg-sprite-loader.

    Install

    npm i svg-viewbox-loader

    DownloadsWeekly Downloads

    5

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • elado