mirror of
https://github.com/exane/not-gwent-online
synced 2024-11-30 11:56:54 +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);
|
|
}
|
|
}
|
|
|
|
}; |