I have a vanilla Javascript app. I can't really turn it into an angular app. However I would like to apply angular material CSS within it.
-
You can create Angular-Element web-component and then you can use it in your every JavaScript world. In this approach your material design is already in form of JavaScript so that you can reuse it everywhere.Gaurang Dhorda– Gaurang Dhorda2020-02-21 04:59:25 +00:00Commented Feb 21, 2020 at 4:59
Add a comment
|
2 Answers
IMHO your best pick would be the official Material Design Components library made by Google themselves which implement the same specs and is made for pure JavaScript.
Components - https://material-components.github.io/material-components-web-catalog/
Getting Started - https://material.io/develop/web/docs/getting-started/
Comments
Material Design Lite allows you to use the appearance of Material Design without having to depend on the particular implementation for any framework.