We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd81be2 commit 55f735eCopy full SHA for 55f735e
bundler.js
@@ -1,5 +1,5 @@
1
const fs = require('fs')
2
-const path = require('path')
+const path = require('path').posix
3
const execSync = require('child_process').execSync
4
5
const VUE_WRAPPER = process.env.IS_DEV ? 'src/vue-wrapper.js' : 'lib/vue-wrapper.js'
tmpl/vue-component.tmpl
@@ -15,7 +15,7 @@ var uniqId = 'A' + Math.random().toString(36).substring(2)
15
<div id="A<?js= uniqId ?>"></div>
16
<script>
17
new Vue({
18
- components: Components,
+ components: vueComponents,
19
render: (d, context) => {
20
return d(VueWrapper, {
21
props: {defaultCode: <?js= JSON.stringify(example.code || null) ?>}
0 commit comments