0.0.2 • Published 6 years ago

vue-app-button v0.0.2

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

vue-app-button

A Vue component that shows a button.

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-button

Browser

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

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

Module

import VueAppButton from 'vue-app-button';

Usage

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

<vue-app-button></vue-app-button>
0.0.2

6 years ago

0.0.1

6 years ago