0.0.2 • Published 6 years ago

vue-app-input v0.0.2

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

vue-app-input

A Vue component that shows a input.

This isn't particularly useful, it's used as a demo for how to publish Vue components to NPM!

Installation

npm i --save-dev vue-app-input

Browser

Include the script file, then install the component with Vue.use(VueAppInput); e.g.:

<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/vue-app-input/dist/vue-app-input.min.js"></script>
<script type="text/javascript">
  Vue.use(VueAppInput);
</script>

Module

import VueAppInput from 'vue-app-input';

Usage

Once installed, it can be used in a template as simply as:

<vue-app-input @input="Function"></vue-app-input>
0.0.2

6 years ago

0.0.1

6 years ago