mirror of
https://github.com/exane/not-gwent-online
synced 2024-12-27 05:13:13 +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);
|
|
}
|
|
}
|
|
|
|
}; |