我指的是用于自定义版式的Angular材料,得到的错误是SassError:未定义变量

时间:2020-08-06 08:43:41

标签: javascript node.js angular node-sass typography

这是我的错误

ERROR in ./src/secondary.scss (./node_modules/css-loader/dist/cjs.js??ref--14-1!./node_modules/postcss-loader/src??embedded!./node_modules/resolve-url-loader??ref--14-3!./node_modules/@angular-devkit/build-angular/node_modules/sass-loader/dist/cjs.js??ref--14-4!./src/secondary.scss)
Module build failed (from ./node_modules/@angular-devkit/build-angular/node_modules/sass-loader/dist/cjs.js):
SassError: Undefined variable.
    ╷
120 │ @include mat-base-typography($custom-typography);
    │                              ^^^^^^^^^^^^^^^^^^

0 个答案:

没有答案