-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,9 @@ | |
<meta name="mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="default"> | ||
<link rel="apple-touch-icon" sizes="120x120" href="/public/logo-120.png"> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
<link rel="apple-touch-icon" sizes="120x120" href="/logo-120.png"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui"> | ||
<link rel="shortcut icon" sizes="48x48" href="/public/logo-48.png"> | ||
<link rel="shortcut icon" sizes="48x48" href="/logo-48.png"> | ||
<meta name="theme-color" content="#f60"> | ||
<link rel="manifest" href="/manifest.json"> | ||
<style> | ||
|
@@ -18,6 +18,7 @@ | |
</head> | ||
<body> | ||
<div id="skip"><a href="#app">skip to content</a></div> | ||
<!--vue-ssr-outlet--> | ||
<div id="app"></div> | ||
<script type="module" src="/src/entry-client.js"></script> | ||
This comment has been minimized.
Sorry, something went wrong.
yyx990803
Author
Member
|
||
</body> | ||
</html> |
1 comment
on commit 565b948
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Removed the SSR specific code since the migration build does not support Vue 2 SSR.
- Removed
entry-server.js
- Merged the
api
directory into a single client-onlyapi.js
file
- Removed
-
Swapped the build tool from a custom webpack setup to Vite.
In Vite, files in the
public
directory are served at server root, so all asset paths that started with/public/
are changed to/
. This includes paths in Vue files andmanifest.json
.Docs: https://vitejs.dev/guide/assets.html#the-public-directory