# vue-append **Repository Path**: seatonwu/vue-append ## Basic Information - **Project Name**: vue-append - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-09 - **Last Updated**: 2021-04-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-append > vue-append, like v-html directive, but it can call javascript function ## Install ``` npm install vue-append --save # or yarn add vue-append ``` #### Es6 module - Available through npm as `vue-append`. ``` js import VueAppend from 'vue-append' Vue.use(VueAppend) ``` #### CommonJS ``` js var VueAppend = require('vue-append') Vue.use(VueAppend) ``` #### Direct include - You can also directly include it with a ` `; new Vue({ el: '#app', data: { html: html }, methods: { appended() { console.log('appended!'); // could use jQuery 😊 alert(window.jQuery); } } }); ``` See `/example` for a timer demo. To build it, run `npm install && npm run build`. ## License [MIT](http://opensource.org/licenses/MIT)