Skip to content

Commit 706d469

Browse files
committed
Go full ES2015 in example
1 parent 2c36b33 commit 706d469

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/src/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h1>{{ salutation }}, counted to {{ count }} already!</h1>
1111
}
1212
},
1313
computed: {
14-
salutation: function(dude) {
14+
salutation(dude) {
1515
return hello(dude);
1616
}
1717
}

example/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
module: {
1919
rules: [
2020
{
21-
test: /\.(js)$/,
21+
test: /\.(html|js)$/,
2222
exclude: /node_modules/,
2323
use: 'babel-loader',
2424
query: babelSettings

0 commit comments

Comments
 (0)