Guest User

Untitled

a guest
Mar 17th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. <!--function (e,n,r,o){return sn(t,e,n,r,o,!0)}-->
  2.  
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6. <meta charset="UTF-8">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <title>Document</title>
  9. </head>
  10. <body>
  11. <div id="app">
  12. <h1>some content</h1>
  13. {{test}}
  14. </div>
  15. <script src="dist/bundle.js"></script>
  16. </body>
  17. </html>
  18.  
  19. const path = require('path');
  20.  
  21. module.exports = {
  22. entry: './src/app.js',
  23. output: {
  24. filename: 'bundle.js',
  25. path: path.resolve(__dirname, 'dist')
  26. }
  27. }
  28.  
  29. import Vue from 'vue'
  30.  
  31. const app = new Vue({
  32. el: "#app",
  33. data: {
  34. test: "asdf"
  35. },
  36. mounted() {
  37. console.log('mounted')
  38. }
  39. })
Add Comment
Please, Sign In to add comment