简体   繁体   中英

import select2 scss from node_modules

I am trying to import select2 scss from node_modules.

I have installed select2 by command\\

npm install select2 and got select2 folder in node_modules folder

How can I import css for select2 in app.scss file.

I am using gulp.

Thanks

@import "node_modules/select2/css";

您可以在SCSS文件的顶部添加它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM