- {{ f.button('Button', {'btn_type': 'primary'}) }}
+ {{ f.button('Button') }}
@@ -334,7 +334,7 @@
button(label, opt)
- {{ f.button('Label', {'btn_type': 'primary', 'name': 'button-name', 'value': 'buton-value'}) }}
+ {{ f.button('Label', {'name': 'button-name', 'value': 'buton-value'}) }}
diff --git a/webpack.config.js b/webpack.config.js
index a3ad205d..389e3d07 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -8,7 +8,7 @@ const nodeEnv = (process.env.NODE_ENV || 'development').trim();
// eslint-disable-next-line
const __DEV__ = nodeEnv !== 'production';
-const devtool = __DEV__ ? 'source-map' : undefined
+const devtool = __DEV__ ? 'source-map' : undefined
const plugins = [
new webpack.DefinePlugin({
@@ -68,7 +68,7 @@ module.exports = {
},
},
},
- {
+ {
loader: 'sass-loader',
options: {
sassOptions: {