Skip to content

Commit 55f735e

Browse files
force posix paths on windows and fix vue
1 parent bd81be2 commit 55f735e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bundler.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const fs = require('fs')
2-
const path = require('path')
2+
const path = require('path').posix
33
const execSync = require('child_process').execSync
44

55
const VUE_WRAPPER = process.env.IS_DEV ? 'src/vue-wrapper.js' : 'lib/vue-wrapper.js'

tmpl/vue-component.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var uniqId = 'A' + Math.random().toString(36).substring(2)
1515
<div id="A<?js= uniqId ?>"></div>
1616
<script>
1717
new Vue({
18-
components: Components,
18+
components: vueComponents,
1919
render: (d, context) => {
2020
return d(VueWrapper, {
2121
props: {defaultCode: <?js= JSON.stringify(example.code || null) ?>}

0 commit comments

Comments
 (0)