Home > Blockchain >  cant import Angular material v15 prebuild legacy theme
cant import Angular material v15 prebuild legacy theme

Time:01-04

So I updated Angular and Material to v15, and I want to use legacy components, but when I try to import legacy prebuild theme I get this error.

IMPORT ERROR

If I import the material prebuilt-themes(not legacy ones) the compiler builds successfully, but I need to use legacy components and I need legacy prebuild theme

modules

CodePudding user response:

Did you try to import it with ../node_modules/@angular

Quite the same like: Angular material Could not find Angular Material core theme

  • Related