refactor [P-137]: изолирование документации
This commit is contained in:
1 parent
15e7f45919
commit
895ba23872
352 files changed
+214150
-1593
No files matched your search
File renamed without changes.
@@ -1,10 +1,8 @@
|
||||
|
||||
|
||||
<template>
|
||||
<Line :data="data" :options="options" />
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
<script>
|
||||
import {
|
||||
Chart as ChartJS,
|
||||
CategoryScale,
|
||||
@@ -14,12 +12,12 @@ import {
|
||||
Title,
|
||||
Tooltip,
|
||||
Legend,
|
||||
TimeScale
|
||||
} from 'chart.js'
|
||||
import { Line } from 'vue-chartjs'
|
||||
import * as chartConfig from './chartConfig.js'
|
||||
import ChartDataLabels from 'chartjs-plugin-datalabels'
|
||||
import 'chartjs-adapter-moment'
|
||||
TimeScale,
|
||||
} from 'chart.js';
|
||||
import { Line } from 'vue-chartjs';
|
||||
import * as chartConfig from './chartConfig.js';
|
||||
import ChartDataLabels from 'chartjs-plugin-datalabels';
|
||||
import 'chartjs-adapter-moment';
|
||||
ChartJS.register(
|
||||
ChartDataLabels,
|
||||
CategoryScale,
|
||||
@@ -29,16 +27,16 @@ ChartJS.register(
|
||||
Title,
|
||||
Tooltip,
|
||||
Legend,
|
||||
TimeScale
|
||||
)
|
||||
TimeScale,
|
||||
);
|
||||
|
||||
export default {
|
||||
name: 'App',
|
||||
components: {
|
||||
Line
|
||||
Line,
|
||||
},
|
||||
data() {
|
||||
return chartConfig
|
||||
}
|
||||
}
|
||||
return chartConfig;
|
||||
},
|
||||
};
|
||||
</script>
|
||||
@@ -1,4 +1,4 @@
|
||||
import { mount } from '../../../../node_modules/@vue/test-utils';
|
||||
import { mount } from '../../../../documentation/node_modules/@vue/test-utils';
|
||||
import CarouselList from '@/components/carousel-list.vue';
|
||||
|
||||
// Мок axios
|
||||
|
||||
Reference in new issue
Block a user