Skip to content

Commit

Permalink
chore: 再次对中文路径做测试,删除sass-loader依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Nov 17, 2023
1 parent 1e1af33 commit 1065ed4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 354 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@
"rimraf": "^5.0.5",
"rollup-plugin-visualizer": "^5.9.2",
"sass": "^1.69.5",
"sass-loader": "^13.3.2",
"stylelint": "^15.11.0",
"stylelint-config-recess-order": "^4.3.0",
"stylelint-config-recommended-vue": "^1.5.0",
Expand Down
Loading

1 comment on commit 1065ed4

@xiaoxian521
Copy link
Member Author

@xiaoxian521 xiaoxian521 commented on 1065ed4 Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vite提供了对.scss, .sass, .less, .styl.stylus 文件的内置支持,所以无需安装sass-loader 查看详情

之前额外安装sass-loader,是因为当时发现中文路径下,如果不安装sass-loader会报错导致无法正常运行 271b953

2023年11月17日,平台对macwindows系统再次做了测试,发现删除sass-loader后项目不会再报错,如下图:

mac

image

windows

image

当然平台还是建议

请不要用中文路径存放vue-pure-admin

Please sign in to comment.