Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

webstorm如何跳转到组件文件 #62

Open
jingkeke opened this issue May 23, 2020 · 4 comments
Open

webstorm如何跳转到组件文件 #62

jingkeke opened this issue May 23, 2020 · 4 comments

Comments

@jingkeke
Copy link

webstorm版本: 2020.1

我之前是设置一个webpack.config.js 在根目录,然后加个

module.exports = {
  resolve: {
    alias: {
      '@': require('path').resolve(__dirname, 'src'),
    },
  },
};

但是这个项目老是跳转到types.d.ts ,google了半天也没解决。过来请教一下。感觉这个项目用的技术挺适合学习的。谢谢。

@54sword
Copy link
Owner

54sword commented May 24, 2020

没有用过webstorm,帮不上呀😢。

@jingkeke
Copy link
Author

jingkeke commented May 26, 2020

没有用过webstorm,帮不上呀😢。

请问大神是用 vscode 吗,我vscode 点击组件 也是跳转到types.d.ts

@54sword
Copy link
Owner

54sword commented May 27, 2020

https://www.jianshu.com/p/1798d57ecdab
试一试这个方法

@HydeDeng
Copy link

HydeDeng commented Dec 8, 2021

没有用过webstorm,帮不上呀😢。

请问大神是用 vscode 吗,我vscode 点击组件 也是跳转到types.d.ts

请问,问题解决了吗?现在还是跳转到types.d.ts。。。

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

No branches or pull requests

3 participants