New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

fmchart

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fmchart

fmchart demo

latest
npmnpm
Version
0.0.15
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

fmchart

fmchart ui demo

使用fmchart插件

"dependencies": {
    "fmchart": "^1.0.0"
}

引入vue组件并使用

// main.js中添加
// 在import的时候会自动载入样式规范
import { chartBar } from "fmchart-ui";
// 按需引入组件,如果不引入任何组件可以不写Vue.use
Vue.component('chart-bar', chartBar);
// vue文件中直接使用,不需要定义components:
<chart-bar></chart-bar>

本地测试

npm run dev npm run build

发布fmchart-ui插件

public class 公共样式

public components 公共组件

组件定义在 src\components下 按组件名创建文件夹,然后新建vue/js等文件

FAQs

Package last updated on 12 Nov 2021

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