/apprun-ie11

https://yysun.github.io/apprun-ie11

Primary LanguageTypeScript

AppRun Example for IE 11

To use AppRun for applications that support IE 11, you will need:

  1. Polyfills for Promise and string.startsWith , e.g., using https://polyfill.io
  <script src="https://polyfill.io/v3/polyfill.min.js?features=String.prototype.startsWith%2CPromise"></script>
  1. Use window.onhashchange in main.tsx
if (!window.onpopstate) window.onhashchange = () => app.route(location.hash);
  • Use npm start to start the dev server
  • Use npm run build to build for production

This is an application built with AppRun.