Skip to content

Commit ee590ed

Browse files
committed
trying windows path fix
1 parent 76397e4 commit ee590ed

File tree

3 files changed

+22
-20
lines changed

3 files changed

+22
-20
lines changed

package-lock.json

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"no-case": "^2.3.2",
8080
"pug": "^2.0.0-rc.4",
8181
"require-from-string": "^2.0.1",
82+
"slash": "^1.0.0",
8283
"string-hash": "^1.1.3",
8384
"vue": "^2.4.4",
8485
"vue-server-renderer": "^2.4.4",

tests/example/app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
const path = require('path');
33
const express = require('express');
44
const uuidv4 = require('uuid/v4');
5+
const slash = require('slash');
56

67
const expressVueRenderer = require('../../lib');
78
const expressVue = require('./expressVue');
@@ -15,7 +16,7 @@ var exampleMixin = {
1516
};
1617

1718
const options = {
18-
rootPath: path.join(__dirname, 'vueFiles'),
19+
rootPath: slash(path.join(__dirname, 'vueFiles')),
1920
vue: {
2021
head: {
2122
meta: [{

0 commit comments

Comments
 (0)