Skip to content

Instantly share code, notes, and snippets.

@phroggyy
Created August 20, 2015 06:35
Show Gist options
  • Save phroggyy/47fe1dcb1b11d14e1b33 to your computer and use it in GitHub Desktop.
Save phroggyy/47fe1dcb1b11d14e1b33 to your computer and use it in GitHub Desktop.
var Vue = require('vue');
var validator = require('vue-validator');
Vue.use(validator);
// Change this when compiling for production
Vue.config.debug = true;
Vue.config.silent = false;
// Register some directives and filters
// Require some modules
// Require the billing module
require('./billing');
// Register a couple components
var Vue = require('vue');
var Card = require('card');
module.exports = new Vue({
el: '#billing',
data: {
// A bit of data
}
ready: function() {
// This never runs
console.log('hi');
},
methods: {
// A few methods
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment