Skip to content

Commit

Permalink
<-- let you try a py component rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
manatlan committed Oct 4, 2018
1 parent c30a2ec commit 580d75d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test_py_comp.py
Expand Up @@ -77,7 +77,8 @@ def change(self):
v=vbuild.VBuild("comp.vue",cc)+vbuild.VBuild("mother.vue",cm)
html=v.html
style=v.style
script=vbuild.jsmin(v.script)
# script=vbuild.jsmin(v.script)
script=v.script

fid.write("""
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
Expand All @@ -90,4 +91,4 @@ def change(self):
<script>new Vue({el:"#app"})</script>
""" % locals() )

print("Generate html --> "+dest)
print("Generate html --> "+dest)

0 comments on commit 580d75d

Please sign in to comment.