We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我现在遇到一个问题:
import App from './App'
提示找不到:
Module not found: Error: Cannot resolve 'file' or 'directory' ./App in xxxx
而使用·./App.vue 就没问题
./App.vue
我看你的项目中都是省略了后缀的。
webpack已经配置了 extensions: ['', '.js', '.vue']
extensions: ['', '.js', '.vue']
仔细比对了下webpack的配置,目前看不出有啥差别,望指教。
The text was updated successfully, but these errors were encountered:
额,原来是配置错了
Sorry, something went wrong.
No branches or pull requests
我现在遇到一个问题:
提示找不到:
而使用·
./App.vue
就没问题我看你的项目中都是省略了后缀的。
仔细比对了下webpack的配置,目前看不出有啥差别,望指教。
The text was updated successfully, but these errors were encountered: