SHARE
TWEET

Untitled

a guest Jun 25th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. window.Vue = require('vue');
  2.  
  3. Vue.component('example-component', {
  4.     template: '<h2>This is your Vue app</h2>'
  5. });
  6.  
  7. new Vue({
  8.     el: '#app',
  9. });
  10.      
  11. <h2>Testing Vue.js component below</h2>
  12.         <div id="app">
  13.               <example-component></example-component>
  14.         </div>
  15.  
  16.  <script type="text/javascript" src="js/app.js"></script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top