Issue
Could someone explain to me please, when you do angular upgrade to v15 from v14 is the material migration mandatory? Because the angular upgrade guide tells that you can use old(v14) material modules implementations by simply using legacy modules?
https://rc.material.angular.io/guide/mdc-migration ,,The old implementation of each new component is now deprecated, but still available from a "legacy" import. For example, you can import the old mat-button implementation can be used by importing the legacy button module.".
I upgraded the angular and material to v15, but it seems that the legacy modules are not working at all, all of the user interface is broken?
Solution
The answer is that you need to import legacy prebuild theme in styles.css if you want to use legacy components. For me the ng update material did not change prebuild theme to legacy prebuild theme.
Answered By - jheetd
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.