Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Lets gone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
Proof of Concept
Lets gone
Commits
bd652748
Commit
bd652748
authored
9 months ago
by
Bastien DUMONT
Browse files
Options
Downloads
Patches
Plain Diff
chore: expose manifest for public routes
parent
62f2b0db
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
app.config.react.js
+4
-0
4 additions, 0 deletions
app.config.react.js
src/targets/public/index.ejs
+10
-2
10 additions, 2 deletions
src/targets/public/index.ejs
src/targets/public/index.tsx
+3
-1
3 additions, 1 deletion
src/targets/public/index.tsx
with
17 additions
and
3 deletions
app.config.react.js
+
4
−
0
View file @
bd652748
...
...
@@ -50,6 +50,10 @@ module.exports = {
from
:
`./src/targets/vendor/assets/arrows.svg`
,
to
:
'
public/
'
},
{
from
:
`./src/targets/vendor/assets/manifest.json`
,
to
:
'
public/
'
},
{
from
:
`./src/targets/vendor/assets/favicon*`
,
to
:
'
public/
'
,
...
...
This diff is collapsed.
Click to expand it.
src/targets/public/index.ejs
+
10
−
2
View file @
bd652748
...
...
@@ -3,7 +3,11 @@
<head>
<meta
charset=
"utf-8"
/>
<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
rel=
"icon"
type=
"image/png"
...
...
@@ -16,7 +20,11 @@
href=
"public/favicon-16x16.png"
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"
/>
<meta
name=
"theme-color"
content=
"#ffffff"
/>
<meta
...
...
This diff is collapsed.
Click to expand it.
src/targets/public/index.tsx
+
3
−
1
View file @
bd652748
...
...
@@ -39,7 +39,9 @@ const init = () => {
<
I18n
lang
=
{
lang
}
polyglot
=
{
polyglot
}
>
<
HashRouter
>
<
App
tracker
=
{
tracker
}
>
<
h1
>
Vue référent
</
h1
>
<
h1
style
=
{
{
textAlign
:
'
center
'
,
margin
:
'
1rem
'
}
}
>
Vue référent
</
h1
>
<
AppRoutes
/>
</
App
>
</
HashRouter
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment