-
I have two devices: Mac OS and window. When the project is initialized, they are built on the Mac and use the vuepress next '^ 2.0.0-beta.14'. According to the development document agreement, add the 'clientappenhancefiles' and' clientappsetup files' entry loading files。
The above configuration works well on Mac OS.
This is 'pakeage.json':
After the debugger test, the 'getscheme()' returns the path drive letter: "F:" ,but I don't know how to fix this problem. Please help me. Thank you again. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You can use the const { path } = require('@vuepress/utils'); |
Beta Was this translation helpful? Give feedback.
You can use the
path
util that provided by@vuepress/utils
, i.e.