1.0.1 • Published 1 year ago

@mochenya/code_input v1.0.1

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

🍔使用

🫖下载包

npm 方式:

npm install @mochenya/code_input -D

yarn 方式:

yarn add @mochenya/code_input

🍳配置

🥯vue2 配置

vue2 项目的 main.js 添加以下内容:

// 引入 code_input
import CodeInput from "@mochenya/code_input";
// 引入样式表
import "@mochenya/code_input/dist/code-input.css";
// 使用 code_input
Vue.use(CodeInput);

在需要使用 code_input 的组件中使用以下代码:

<template>
  <div>
    <code-input v-model="codeData"/>
  </div>
</template>

🧀vue3 配置

vue3 项目的 main.js 添加以下内容:

// TODO 待完成

🍜License

MIT

1.0.1

1 year ago

1.0.0

1 year ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago