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

File could not be loaded: node_modules/ksc-components/components/Grid/index.styl #2168

Closed
532815096 opened this issue Feb 22, 2021 · 2 comments

Comments

@532815096
Copy link

We want to replace "webpack" with "vite", but our project is relatively large, so we can't upgrade "vue2" to "vue3". After trying according to the example, we find that there is a problem in reading stylus. How can we solve it
image
The components are internal to us. There is no problem using "webpack" parsing.
How do I configure it“ vite.config.js ”At present, the document is not very clear?

@Jayantxu
Copy link

@532815096
你好,我们可能相似的升级需求,使用vite替代webpack,并且由于项目问题暂时无法升级Vue版本。
想请教一下你这边是怎么做的呢?

@532815096
Copy link
Author

@Jayantxu
我们也还在升级...目前就剩下组件问题了。。组件内的import先补齐了后缀文件名...现在还剩组件内引入stylus的问题了...一直提示不能加载...就是我提的问题截图那个,目前还在找处理方案...

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants