Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
57b8567c
Commit
57b8567c
authored
Jul 23, 2021
by
Justin Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Vue app structure for integration overrides
Only init the app for now
parent
66b4b117
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
0 deletions
+41
-0
app/assets/javascripts/integrations/overrides/components/integration_overrides.vue
...tegrations/overrides/components/integration_overrides.vue
+15
-0
app/assets/javascripts/integrations/overrides/index.js
app/assets/javascripts/integrations/overrides/index.js
+23
-0
app/assets/javascripts/pages/admin/integrations/overrides/index.js
...s/javascripts/pages/admin/integrations/overrides/index.js
+3
-0
No files found.
app/assets/javascripts/integrations/overrides/components/integration_overrides.vue
0 → 100644
View file @
57b8567c
<
script
>
export
default
{
name
:
'
IntegrationOverrides
'
,
props
:
{
overridesPath
:
{
type
:
String
,
required
:
true
,
},
},
};
</
script
>
<
template
>
<div></div>
</
template
>
app/assets/javascripts/integrations/overrides/index.js
0 → 100644
View file @
57b8567c
import
Vue
from
'
vue
'
;
import
IntegrationOverrides
from
'
./components/integration_overrides.vue
'
;
export
default
()
=>
{
const
el
=
document
.
querySelector
(
'
.js-vue-integration-overrides
'
);
if
(
!
el
)
{
return
null
;
}
const
{
overridesPath
}
=
el
.
dataset
;
return
new
Vue
({
el
,
render
(
createElement
)
{
return
createElement
(
IntegrationOverrides
,
{
props
:
{
overridesPath
,
},
});
},
});
};
app/assets/javascripts/pages/admin/integrations/overrides/index.js
0 → 100644
View file @
57b8567c
import
initIntegrationOverrides
from
'
~/integrations/overrides
'
;
initIntegrationOverrides
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment