Socket
Socket
Sign inDemoInstall

canknow-icon

Package Overview
Dependencies
308
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    canknow-icon

```shell npm install canknow-icon -s ```


Version published
Weekly downloads
107
increased by12.63%
Maintainers
1
Install size
12.2 MB
Created
Weekly downloads
 

Readme

Source

Install

npm install canknow-icon -s

Quick Start

vue.config.js

const configCanknowIconWebpack = require('canknow-icon/src/configWebpack.js');

function resolve (dir) {
  return path.join(__dirname, dir);
}

module.exports = {
  chainWebpack (config) {
    configCanknowIconWebpack(config, resolve);
  }
}

main.js

import Icon from 'canknow-icon/src/component/icon';
Vue.use(Icon);

App.vue

<style lang="scss">
  @import "~canknow-icon/src/component/icon/src/icon";
</style>

after install, generated folder like this:

/src/assets/icons/svg/canknow/filled
/src/assets/icons/svg/canknow/outlined

add your application icons to the folder like this which should create yourself:

/src/assets/icons/svg/application/filled
/src/assets/icons/svg/application/outlined

FAQs

Last updated on 10 Apr 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc