Skip to content

Commit

Permalink
router and index update
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Brakke committed Apr 28, 2023
1 parent 41783ac commit 316e881
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
29 changes: 29 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<title><%= productName %></title>

<meta charset="utf-8" />
<meta name="description" content="<%= productDescription %>" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta
name="viewport"
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>"
/>

<link
rel="icon"
type="image/png"
sizes="128x128"
href="icons/128x128.png"
/>
<link rel="icon" type="image/png" sizes="96x96" href="icons/96x96.png" />
<link rel="icon" type="image/png" sizes="32x32" href="icons/32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="icons/16x16.png" />
<link rel="icon" type="image/ico" href="favicon.ico" />
</head>
<body>
<!-- quasar:entry-point -->
</body>
</html>
4 changes: 1 addition & 3 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ export default route(function (/* { store, ssrContext } */) {
// Leave this as is and make changes in quasar.conf.js instead!
// quasar.conf.js -> build -> vueRouterMode
// quasar.conf.js -> build -> publicPath
history: createHistory(
process.env.MODE === "ssr" ? void 0 : process.env.VUE_ROUTER_BASE
),
history: createHistory(process.env.VUE_ROUTER_BASE),
});

return Router;
Expand Down

0 comments on commit 316e881

Please sign in to comment.