index.html 1.20 KiB
<!DOCTYPE html>
<html>
<head>
  <base href="/">
  <title>NgHyd - Calculette hydro</title>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="styles.css">
  <!-- Polyfill(s) for older browsers -->
  <script src="node_modules/core-js/client/shim.min.js"></script>
  <script src="node_modules/zone.js/dist/zone.js"></script>
  <script src="node_modules/systemjs/dist/system.src.js"></script>
  <script src="systemjs.config.js"></script>
  <script>
    // Get the locale id somehow
    document.locale = 'fr-FR';
    // document.locale = 'en';
    // Map to the text plugin
    System.config({
      map: {
        text: 'systemjs-text-plugin.js'
    });
    // Launch the app
    System.import('main.js').catch(function (err) { console.error(err); });
  </script>
  <!-- Load the Angular Material stylesheet -->
  <link href="https://unpkg.com/@angular/material/prebuilt-themes/indigo-pink.css" rel="stylesheet">
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  <style>
    body {
      font-family: Roboto, Arial, sans-serif;
  </style>
</head>
<body>
  <nghyd-app></nghyd-app>
</body>
</html>