refactor
This commit is contained in:
		@@ -166,7 +166,7 @@
 | 
			
		||||
 | 
			
		||||
		if (!errorsElement) {
 | 
			
		||||
			document.body.innerHTML = `
 | 
			
		||||
			<svg class="icon-warning" xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-alert-triangle" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
 | 
			
		||||
			<svg class="icon-warning" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
 | 
			
		||||
				<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
 | 
			
		||||
				<path d="M12 9v2m0 4v.01"></path>
 | 
			
		||||
				<path d="M5 19h14a2 2 0 0 0 1.84 -2.75l-7.1 -12.25a2 2 0 0 0 -3.5 0l-7.1 12.25a2 2 0 0 0 1.75 2.75"></path>
 | 
			
		||||
@@ -178,7 +178,7 @@
 | 
			
		||||
			<p><b>The following actions may solve the problem. / 以下を行うと解決する可能性があります。</b></p>
 | 
			
		||||
			<p>Update your os and browser / ブラウザおよびOSを最新バージョンに更新する</p>
 | 
			
		||||
			<p>Disable an adblocker / アドブロッカーを無効にする</p>
 | 
			
		||||
	 		<p>Clear the browser cache / ブラウザのキャッシュをクリアする</p>
 | 
			
		||||
			<p>Clear the browser cache / ブラウザのキャッシュをクリアする</p>
 | 
			
		||||
			<p>(Tor Browser) Set dom.webaudio.enabled to true / dom.webaudio.enabledをtrueに設定する</p>
 | 
			
		||||
			<details style="color: #86b300;">
 | 
			
		||||
				<summary>Other options / その他のオプション</summary>
 | 
			
		||||
@@ -320,6 +320,6 @@
 | 
			
		||||
			#errorInfo {
 | 
			
		||||
				width: 50%;
 | 
			
		||||
			}
 | 
			
		||||
		}`)
 | 
			
		||||
		}`);
 | 
			
		||||
	}
 | 
			
		||||
})();
 | 
			
		||||
 
 | 
			
		||||
@@ -6,6 +6,8 @@
 | 
			
		||||
// https://vitejs.dev/config/build-options.html#build-modulepreload
 | 
			
		||||
import 'vite/modulepreload-polyfill';
 | 
			
		||||
 | 
			
		||||
import '@tabler/icons-webfont/dist/tabler-icons.scss';
 | 
			
		||||
 | 
			
		||||
import '@/style.scss';
 | 
			
		||||
import { mainBoot } from '@/boot/main-boot.js';
 | 
			
		||||
import { subBoot } from '@/boot/sub-boot.js';
 | 
			
		||||
 
 | 
			
		||||
@@ -3,11 +3,6 @@
 | 
			
		||||
 * SPDX-License-Identifier: AGPL-3.0-only
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
// devモードで起動される際(index.htmlを使うとき)はrouterが暴発してしまってうまく読み込めない。
 | 
			
		||||
// よって、devモードとして起動されるときはビルド時に組み込む形としておく。
 | 
			
		||||
// (pnpm start時はpugファイルの中で静的リソースとして読み込むようになっており、この問題は起こっていない)
 | 
			
		||||
import '@tabler/icons-webfont/dist/tabler-icons.scss';
 | 
			
		||||
 | 
			
		||||
await main();
 | 
			
		||||
 | 
			
		||||
import('@/_boot_.js');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user