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

header-desc

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

header-desc

Header description component by Vue.

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

header-desc

Header description component by Vue.

Build Setup

# install dependencies
npm install header-desc --save

预览

预览

##use

<template>
  <div id="app">
    <header-desc :detailData="detailData"></header-desc>
  </div>
</template>

<script>
import headerDesc from './myPlugin/headerDesc'; // 引入
export default {
  name: 'app',
  components: {
    headerDesc
  },
  data () {
    return {
      detailData: {
        image_path: "//elm.cangdu.org/img/164ad0b6a3917599.jpg",
        detail_Path: "www.baidu.com",
        title: "测试标题1",
        context: "商家配送/5分钟送达/配送费¥5",
        announcement: "公告:欢迎光临,用餐高峰请提前下单,谢谢."
      }
    }
  }
}
</script>
</script>

Keywords

vue

FAQs

Package last updated on 14 Dec 2018

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