|
47 | 47 | <p>It's optional, but to have the best experience possible, use Roboto and Google Icons from Google CDN:</p>
|
48 | 48 |
|
49 | 49 | <code-example title="Roboto Font and Icons" label="HTML" lang="html">
|
50 |
| - <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic"> |
51 |
| - <link rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons"> |
| 50 | + <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic|Material+Icons"> |
| 51 | + </code-example> |
| 52 | + |
| 53 | + <p>For fast prototyping without installing templates from <strong>vue-cli</strong> use CDNs:</p> |
| 54 | + |
| 55 | + <code-example title="CDN" label="HTML" lang="html"> |
| 56 | + <!doctype html> |
| 57 | + <html> |
| 58 | + <head> |
| 59 | + <meta charset="utf-8"> |
| 60 | + <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic|Material+Icons"> |
| 61 | + 	<link type="text/css" rel="stylesheet" href="https://unpkg.com/vue-material@beta/dist/vue-material.min.css"> |
| 62 | + <meta content="width=device-width,initial-scale=1,minimal-ui" name="viewport"> |
| 63 | + </head> |
| 64 | + <body> |
| 65 | + <div id="app"> |
| 66 | + <!-- Your code here --> |
| 67 | + </div> |
| 68 | + <script type="text/javascript" src="https://unpkg.com/vue"></script> |
| 69 | + <script type="text/javascript" src="https://unpkg.com/vue-material@beta"></script> |
| 70 | + <script> |
| 71 | + Vue.use(VueMaterial.default); |
| 72 | + |
| 73 | + new Vue({ |
| 74 | + el: '#app' |
| 75 | + }); |
| 76 | + </script> |
| 77 | + </body> |
| 78 | + </html> |
52 | 79 | </code-example>
|
53 | 80 | </div>
|
54 | 81 | </page-container>
|
|
0 commit comments