mirror of
https://github.com/Aexiar/c.git
synced 2024-10-22 14:05:45 +02:00
c
This commit is contained in:
parent
5589fcb86e
commit
0ac9121eba
@ -21,24 +21,6 @@ export default defineConfig({
|
|||||||
'link',
|
'link',
|
||||||
{ href: 'https://fonts.googleapis.com/css2?family=Roboto&display=swap', rel: 'stylesheet' }
|
{ href: 'https://fonts.googleapis.com/css2?family=Roboto&display=swap', rel: 'stylesheet' }
|
||||||
],
|
],
|
||||||
[
|
|
||||||
'script',
|
|
||||||
{ id: 'register-sw' },
|
|
||||||
`;(() => {
|
|
||||||
if ('serviceWorker' in navigator) {
|
|
||||||
navigator.serviceWorker.register('/sw.js')
|
|
||||||
}
|
|
||||||
})()`
|
|
||||||
// would render:
|
|
||||||
//
|
|
||||||
// <script id="register-sw">
|
|
||||||
// ;(() => {
|
|
||||||
// if ('serviceWorker' in navigator) {
|
|
||||||
// navigator.serviceWorker.register('/sw.js')
|
|
||||||
// }
|
|
||||||
// })()
|
|
||||||
// </script>
|
|
||||||
],
|
|
||||||
['meta', { name: "viewport", content: "width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no,shrink-to-fit=no" }],
|
['meta', { name: "viewport", content: "width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no,shrink-to-fit=no" }],
|
||||||
['meta', { name: "keywords", content: "许大仙,许大仙的博客" }],
|
['meta', { name: "keywords", content: "许大仙,许大仙的博客" }],
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user