diff --git a/index.html b/index.html
index 6f08b2f..e266916 100644
--- a/index.html
+++ b/index.html
@@ -3,7 +3,11 @@
+
+
+
+
Vite App
diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png
new file mode 100644
index 0000000..1f13871
Binary files /dev/null and b/public/apple-touch-icon.png differ
diff --git a/public/robots.txt b/public/robots.txt
new file mode 100644
index 0000000..c2a49f4
--- /dev/null
+++ b/public/robots.txt
@@ -0,0 +1,2 @@
+User-agent: *
+Allow: /
diff --git a/src/router/index.ts b/src/router/index.ts
index a49ae50..6cbe46a 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,8 +1,8 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
const router = createRouter({
- history: createWebHistory(import.meta.env.BASE_URL),
+ history: createWebHashHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
diff --git a/vite.config.ts b/vite.config.ts
index 546ddc8..6566aeb 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -27,10 +27,10 @@ export default defineConfig(({ mode }) => {
}),
VitePWA({
registerType: 'autoUpdate',
- includeAssets: ['favicon.svg', 'safari-pinned-tab.svg'],
+ includeAssets: ['favicon.ico', 'apple-touch-icon.png', 'favicon-dark.svg'],
manifest: {
- name: 'kaandesu/vite-template',
- short_name: 'kaandesu/vite-template',
+ name: 'vite-template',
+ short_name: 'vite-template',
theme_color: '#ffffff',
icons: [
{
@@ -53,7 +53,7 @@ export default defineConfig(({ mode }) => {
},
workbox: {
navigateFallback: '/',
- cleanupOutdatedCaches: false
+ cleanupOutdatedCaches: true
},
// client: {
// installPrompt: true,