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

@hatchly/adonis-icons

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hatchly/adonis-icons

Official Adonis integration for Hatchly Icons Attribute

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Adonis Icons

Adonis integration for Hatchly to obtain icons from Nuxt instance

Installation

$ yarn add @hatchly/adonis-icons

Usage

Once the module is installed it will register and boot a route, complete with controller, to allow a Hatchly instance to get the keys for all icons used within the project.

PHP

This works in tandem with the Hatchly IconAttribute package found here - @todo

Usage

Add the module to your applications service providers in start/app.js:

const providers = [
    // Other providers
    '@hatchly/adonis-icons/adonis/providers/IconProvider',
];

Add an icons.js to your config directory to set the svg sprite path.

const path = require('path');

module.exports = {
    path: path.resolve(__dirname, '../resources/assets/icons/sprite-file-name.svg');
};

FAQs

Package last updated on 09 Jun 2020

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