diff --git a/.eslintignore b/.eslintignore index 72bf17083..6e89e4d38 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,4 +1,4 @@ lib/ dist/ node_modules/ -build/ +build/**/*.js diff --git a/build/utils/postcss_pipe.js b/build/utils/postcss_pipe.js index 737ac415c..6c5fafd1b 100644 --- a/build/utils/postcss_pipe.js +++ b/build/utils/postcss_pipe.js @@ -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"]}*/ diff --git a/build/webpack.config.js b/build/webpack.config.js index b5d758f6a..5d28befbf 100644 --- a/build/webpack.config.js +++ b/build/webpack.config.js @@ -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') diff --git a/docs/examples/button.md b/docs/examples/button.md index 44011e77a..e7d0e761c 100644 --- a/docs/examples/button.md +++ b/docs/examples/button.md @@ -1,14 +1,8 @@