I'm trying to use the google designer stuff in my application made on electron.
but even installing I can't use the style of the designer material
I installed the package using
npm i material-components-web
My code is as follows:
index.html
<html>
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<link href="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.css" rel="stylesheet">
<script src="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.js"></script>
<title>MyTestApp</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
</head>
<body>
<div class="win">
<div>
<img src="bacground.png"/>
</div>
<div class="Panel">
<div class="Test"></div>
<mwc-textfield class="TextFiledTest" label="Test" icon="event"></mwc-textfield>
</div>
</div>
</div>
</body>
</html>
Can anyone who has used material web components in electron tell me how can I do it to work?