Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[auto import file] 路徑問題 #9

Closed
liubusian opened this issue Mar 29, 2020 · 1 comment
Closed

[auto import file] 路徑問題 #9

liubusian opened this issue Mar 29, 2020 · 1 comment

Comments

@liubusian
Copy link

liubusian commented Mar 29, 2020

Version: 1.43.2 (user setup)
Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50
Date: 2020-03-24T07:38:38.248Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

vue-helper: 2.3.1

當使用auto import file
得到
import myHeader from '@\components\myHeader' => 會導致錯誤

我查看源碼,是由於使用path.sep,在windows會使用反斜線導致,是否加入判斷,當path.sep為反斜線的時候,使用正斜線(/)呢?

@jiaolong1021
Copy link
Owner

this question already resolve in version 2.3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants