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

关于“坑”的解释哈 #34

Open
vay9353 opened this issue Jan 12, 2022 · 1 comment
Open

关于“坑”的解释哈 #34

vay9353 opened this issue Jan 12, 2022 · 1 comment

Comments

@vay9353
Copy link

vay9353 commented Jan 12, 2022

// 这里是坑啊,文件路径中好像不能用@符号

因为css-loader会把非根路径的url识别为相对路径,前面加上“~”就可以了,详见:https://webpack.docschina.org/loaders/css-loader/#url

@js1k
Copy link

js1k commented Jan 12, 2022 via email

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