引入vue-jsx, 按钮完善

This commit is contained in:
niunai
2017-02-20 01:10:00 +08:00
parent e415d039f0
commit 9a4ac14066
10 changed files with 170 additions and 77 deletions
+2 -2
View File
@@ -4,8 +4,8 @@
var config = {
"bem": {
"shortcuts": {"component": "c", "modifier": "m", "descendent": "d"},
"separators": {"descendent": "-", "modifier": "--"}
"shortcuts": {"component": "b", "modifier": "m", "descendent": "e"},
"separators": {"descendent": "__", "modifier": "--"}
}/*,
"autoprefixer": {"browsers": ["ie > 8", "last 2 versions"]},
"rem": {"browsers": ["ie > 8", "last 2 versions"]}*/
+1 -1
View File
@@ -109,7 +109,7 @@ if (process.env.NODE_ENV === 'production') {
postcss: getPoastcssPlugin,
babel: {
presets: ['es2015'],
plugins: ['transform-runtime']
plugins: ['transform-runtime', 'transform-vue-jsx']
},
eslint: {
formatter: require('eslint-friendly-formatter')