如何获取:使用 VS Cod 从 tsx、jsx 源文件到 Node_modules Bootstrap 样式文件(ccs、scss、less)的提示、转到定义、Peek 等

问题描述 投票:0回答:0

这是关于使用 npm Create-next-app 模板和 Bootstrap npm 包安装的 React 项目的 Next Framework。

我测试了几个 Vs 代码扩展,只能跳转到 /styles/global.ccs 和 /styles/*.modules.css 文件,但没有跳转到 /node_modules/... bootstrap 样式文件(css、scss、less)。 在浏览器预览页面样式工作正常,包括 Node_modules Bootstrap 样式。

javascript css reactjs typescript next
© www.soinside.com 2019 - 2024. All rights reserved.