mirror of
https://github.com/exane/not-gwent-online
synced 2024-11-23 19:36:53 +00:00
19 lines
244 B
JavaScript
19 lines
244 B
JavaScript
module.exports = {
|
|
|
|
template: require('../views/chat.html'),
|
|
|
|
data: function() {
|
|
return {
|
|
message: ''
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
submitChat: function(e) {
|
|
e.preventDefault();
|
|
|
|
console.log(this.message);
|
|
}
|
|
}
|
|
|
|
}; |