Experiment with loading css synchronously.

This commit is contained in:
FireMasterK 2021-12-27 14:46:35 +00:00
parent 43e69ff284
commit b6d5fabeca
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD
2 changed files with 10 additions and 11 deletions

View file

@ -21,14 +21,13 @@
content="An alternative privacy-friendly YouTube frontend which is efficient by design." content="An alternative privacy-friendly YouTube frontend which is efficient by design."
/> />
</head> </head>
<body>
<noscript> <noscript>
<strong style="color: #fff" <strong style="color: #fff"
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
enabled. Please enable it to continue.</strong Please enable it to continue.</strong
> >
</noscript> </noscript>
<div id="app"></div> <div id="app"></div>
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
</body>
</html> </html>

View file

@ -49,7 +49,7 @@ TimeAgo.addDefaultLocale(en);
import { createI18n } from "vue-i18n"; import { createI18n } from "vue-i18n";
import enLocale from "@/locales/en.json"; import enLocale from "@/locales/en.json";
import("windi.css"); import "windi.css";
const timeAgo = new TimeAgo("en-US"); const timeAgo = new TimeAgo("en-US");