npm run build时,报错(plugin postcss) Error: expected no more input.
来源:13-3 svg + CSS 动画实战:环形进度条

Yitea
2021-03-19
[!] (plugin postcss) Error: expected no more input.
╷
11 │ from[data-v-5a151e4f]{
│ ^
╵
src\components\SvgAnimation\SvgAnimation.vue?vue&type=style&index=0&id=5a151e4f&scoped=true&lang.scss 11:5 root stylesheet
src\components\SvgAnimation\SvgAnimation.vue?vue&type=style&index=0&id=5a151e4f&scoped=true&lang.scss
Error: expected no more input.
@keyframes circle {
from{
stroke-dasharray: 0 1257;
}
to{
stroke-dasharray: 1257 0;
}
}
老师,请问为什么会出现这种问题呐?项目地址:https://github.com/mingSummer/datav-libs-dev
写回答
1回答
-
同学你好,你可以先把lang="scss"改成css模式,把里面的scss语法改css语法。
032021-03-19
相似问题