1.0.7 • Published 1 year ago

yyl-npm-practice v1.0.7

Weekly downloads
10
License
MIT
Repository
-
Last release
1 year ago

Install

安装方法:
1.npm安装:
npm: npm install yyl-npm-practice
2.yarn安装:
yarn add yyl-npm-practice
3.引用yyl-npm-practice.js,使用方法见下文

Quick Start

<template>
<YylNpmPractice
    :propData="propData"
    />
</template>
import YylNpmPractice from 'yyl-npm-practice'
...,
components: {YylNpmPractice},

Params

propData: 传递的参数

引用 yyl-npm-practice.js 的使用示例:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
</head>
<body>
<div id="app">
  <yyl-npm-practice :propData="propData"></yyl-npm-practice>
</div>
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="./dist/yyl-npm-practice.js"></script>
<script>
  new Vue({
    el: '#app',
    data: function() {
      return {
        propData: '11111111111111111111'
      }
    },
    methods: {
    }
  })
</script>
</body>
</html>
1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago