Commit a5c9dfa1 authored by Sean McGivern's avatar Sean McGivern

Use PascalCase for Vue components

parent 7a7a5467
<script> <script>
import requestWarning from './request_warning.vue'; import RequestWarning from './request_warning.vue';
import DeprecatedModal2 from '~/vue_shared/components/deprecated_modal_2.vue'; import DeprecatedModal2 from '~/vue_shared/components/deprecated_modal_2.vue';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
export default { export default {
components: { components: {
requestWarning, RequestWarning,
GlModal: DeprecatedModal2, GlModal: DeprecatedModal2,
Icon, Icon,
}, },
......
<script> <script>
import { glEmojiTag } from '~/emoji'; import { glEmojiTag } from '~/emoji';
import detailedMetric from './detailed_metric.vue'; import DetailedMetric from './detailed_metric.vue';
import requestSelector from './request_selector.vue'; import RequestSelector from './request_selector.vue';
import { s__ } from '~/locale'; import { s__ } from '~/locale';
export default { export default {
components: { components: {
detailedMetric, DetailedMetric,
requestSelector, RequestSelector,
}, },
props: { props: {
store: { store: {
......
...@@ -6,7 +6,7 @@ export default ({ container }) => ...@@ -6,7 +6,7 @@ export default ({ container }) =>
new Vue({ new Vue({
el: container, el: container,
components: { components: {
performanceBarApp: () => import('./components/performance_bar_app.vue'), PerformanceBarApp: () => import('./components/performance_bar_app.vue'),
}, },
data() { data() {
const performanceBarData = document.querySelector(this.$options.el).dataset; const performanceBarData = document.querySelector(this.$options.el).dataset;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment