diff --git a/package.json b/package.json
index 08f989a..08cf391 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "weexpack-create",
- "version": "0.1.10-beta6",
+ "version": "0.1.10-beta7",
"description": "weexpack create module. Creates new project from default or template",
"main": "bin/index.js",
"repository": {
diff --git a/templates/web/index.dev.html b/templates/web/index.dev.html
index fd95f1e..b80aa86 100644
--- a/templates/web/index.dev.html
+++ b/templates/web/index.dev.html
@@ -9,7 +9,23 @@
-
+
diff --git a/templates/web/index.html b/templates/web/index.html
index 649f528..a07ae28 100644
--- a/templates/web/index.html
+++ b/templates/web/index.html
@@ -9,7 +9,23 @@
-
+
diff --git a/templates/webpack.config.js b/templates/webpack.config.js
index 20932b1..2030d2b 100644
--- a/templates/webpack.config.js
+++ b/templates/webpack.config.js
@@ -111,7 +111,17 @@ const webConfig = {
}, {
test: /\.vue(\?[^?]+)?$/,
use: [{
- loader: 'vue-loader'
+ loader: 'vue-loader',
+ options: {
+ compilerModules: [
+ {
+ postTransformNode: el => {
+ el.staticStyle = `$processStyle(${el.staticStyle})`
+ el.styleBinding = `$processStyle(${el.styleBinding})`
+ }
+ }
+ ]
+ }
}]
}]
},