diff --git a/build.dev.js b/build.dev.js index 4854a25..cc4dcb6 100644 --- a/build.dev.js +++ b/build.dev.js @@ -63,7 +63,8 @@ function compileScss(code = '') { function mkWCFile({ style, html, js }) { style = compileScss(style) - let name, props + let name = '' + let props = '' js = js.replace(/props = (\{[\w\W]*?\})/, function(s, m) { props = m diff --git a/src/form/input.wc b/src/form/input.wc new file mode 100644 index 0000000..9cddc68 --- /dev/null +++ b/src/form/input.wc @@ -0,0 +1,70 @@ + + + + + diff --git a/src/icon/index.wc b/src/icon/index.wc index d3a8cfd..39a131e 100644 --- a/src/icon/index.wc +++ b/src/icon/index.wc @@ -5,14 +5,16 @@