UNPKG

miru

Version:

web development server for bundlers and/or static files, parses terminal and DOM errors ( inline sourcemaps supported )

57 lines (45 loc) 1.15 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Miru</title> <style> body { background: #eee; } code { font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; display: inline; color: #333; background: #ddd; margin: 1rem 1rem; padding: 0.325rem 0.325rem; } #text { text-align: left; padding: 1rem 1rem; } body { line-height: 2.0rem; } </style> </head> <body> <h1>Default Miru index.html</h1> <div id="text"> Miru couldn't find a index.html lookalike inside --path to serve. <br> Miru also creates a <code>miru-connect.js</code> file inside the --path directory to initialize live reloads, injection and error printing on the browser. <br> Add it as a script tag to your own index.html pages to initialize miru. <br> <div> <br> <code> &lt;script src="miru-connect.js" type="text/javascript"&gt;&lt;/script&gt; </code> <div id="text"> Consider adding <code>miru-connect.js</code> to your .gitignore since it's only for development. <div> </body> </html>