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

引入sass文件报错,需要添加sass相关处理 #22

Closed
cheaprYang opened this issue Jul 21, 2020 · 13 comments
Closed

引入sass文件报错,需要添加sass相关处理 #22

cheaprYang opened this issue Jul 21, 2020 · 13 comments

Comments

@cheaprYang
Copy link

image

@lzxb
Copy link
Contributor

lzxb commented Jul 22, 2020

我看看为啥。

@lzxb
Copy link
Contributor

lzxb commented Jul 22, 2020

是因为Genesis默认只支持less,scss的话需要通过添加插件来实现。

@lzxb
Copy link
Contributor

lzxb commented Jul 22, 2020

这样吧,周末我重写一下这一块css的逻辑。能够支持scss

@cheaprYang
Copy link
Author

这样吧,周末我重写一下这一块css的逻辑。能够支持scss

缺少postcss.config 就是自己添加插件导致没法用默认的postcss配置,这俩问题估计是在一起,顺便还需要支持一下tsx。

@lzxb
Copy link
Contributor

lzxb commented Jul 27, 2020

周末加班了,没时间处理,估计要缓缓了。

@cheaprYang
Copy link
Author

周末加班了,没时间处理,估计要缓缓了。

没事不急

@cheaprYang
Copy link
Author

周末加班了,没时间处理,估计要缓缓了。

@lzxb 开搞了吗

@lzxb
Copy link
Contributor

lzxb commented Jul 31, 2020

还没,最近太忙了。。。。建议使用less。

@cheaprYang
Copy link
Author

还没,最近太忙了。。。。建议使用less。

@lzxb 哈哈

@lzxb
Copy link
Contributor

lzxb commented Aug 1, 2020

现在周六还要处理准备发布的东西。

@cheaprYang
Copy link
Author

@lzxb 太难了

@lzxb
Copy link
Contributor

lzxb commented Sep 7, 2020

我看了一下现有的代码,要添加sass有点棘手啊。不如使用less算了?

@lzxb
Copy link
Contributor

lzxb commented Sep 7, 2020

挣扎了一番,看了一下这个提交 #30 已经重新把sass的功能添加上去了,楼主更新一下最新版本试试。

@lzxb lzxb closed this as completed Sep 7, 2020
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