Skip to content
Snippets Groups Projects
Commit bd652748 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

chore: expose manifest for public routes

parent 62f2b0db
No related branches found
No related tags found
No related merge requests found
...@@ -50,6 +50,10 @@ module.exports = { ...@@ -50,6 +50,10 @@ module.exports = {
from: `./src/targets/vendor/assets/arrows.svg`, from: `./src/targets/vendor/assets/arrows.svg`,
to: 'public/' to: 'public/'
}, },
{
from: `./src/targets/vendor/assets/manifest.json`,
to: 'public/'
},
{ {
from: `./src/targets/vendor/assets/favicon*`, from: `./src/targets/vendor/assets/favicon*`,
to: 'public/', to: 'public/',
......
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>Référent | <%= htmlWebpackPlugin.options.title %></title> <title>Référent | <%= htmlWebpackPlugin.options.title %></title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link
rel="apple-touch-icon"
sizes="180x180"
href="public/apple-touch-icon.png"
/>
<link <link
rel="icon" rel="icon"
type="image/png" type="image/png"
...@@ -16,7 +20,11 @@ ...@@ -16,7 +20,11 @@
href="public/favicon-16x16.png" href="public/favicon-16x16.png"
sizes="16x16" sizes="16x16"
/> />
<link rel="manifest" href="/manifest.json" crossorigin="use-credentials" /> <link
rel="manifest"
href="public/manifest.json"
crossorigin="use-credentials"
/>
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2" /> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2" />
<meta name="theme-color" content="#ffffff" /> <meta name="theme-color" content="#ffffff" />
<meta <meta
......
...@@ -39,7 +39,9 @@ const init = () => { ...@@ -39,7 +39,9 @@ const init = () => {
<I18n lang={lang} polyglot={polyglot}> <I18n lang={lang} polyglot={polyglot}>
<HashRouter> <HashRouter>
<App tracker={tracker}> <App tracker={tracker}>
<h1>Vue référent</h1> <h1 style={{ textAlign: 'center', margin: '1rem' }}>
Vue référent
</h1>
<AppRoutes /> <AppRoutes />
</App> </App>
</HashRouter> </HashRouter>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment