Sha256: ba21b714d24527f902e814ce95828f45f35e510e52af042fb6df12a849460b0f
Contents?: true
Size: 529 Bytes
Versions: 6
Compression:
Stored size: 529 Bytes
Contents
/* eslint no-console: 0 */ // Run this example by adding <%= javascript_pack_tag 'hello_vue' %> and // <%= stylesheet_pack_tag 'hello_vue' %> to the head of your layout file, // like app/views/layouts/application.html.erb. // All it does is render <div>Hello Vue</div> at the bottom of the page. import Vue from 'vue' import App from './app.vue' document.addEventListener('DOMContentLoaded', () => { document.body.appendChild(document.createElement('hello')) const app = new Vue(App).$mount('hello') console.log(app) })
Version data entries
6 entries across 6 versions & 3 rubygems