accounts-frontend/packages/app/first-render.js

21 lines
576 B
JavaScript
Raw Permalink Normal View History

2020-10-11 23:49:12 +05:30
/* eslint-disable @typescript-eslint/no-var-requires */
/**
* Returns the content to be displayed on first render
*/
export default `
${require('app/components/ui/loader/loader.html')}
<script>
(function(l) {
l.offsetHeight;
l.className += ' is-active';
}(document.getElementById('loader')));
</script>
<style>
2020-05-24 04:38:24 +05:30
${require('!!css-loader!postcss-loader!sass-loader!app/index.scss')[0][1]}
${require('!!css-loader!postcss-loader!sass-loader!app/components/ui/loader/loader.scss')[0][1]}
</style>
`;