Created
August 20, 2015 06:35
-
-
Save phroggyy/47fe1dcb1b11d14e1b33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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