Fix imports to use @ symbol

This commit is contained in:
Matthias 2020-07-24 07:57:14 +02:00
parent 1ca5d1f3e1
commit d33720d4bf
4 changed files with 10 additions and 15 deletions

View File

@ -10,10 +10,10 @@
import { Component, Vue, Prop, Watch } from 'vue-property-decorator';
import ECharts from 'vue-echarts';
import * as echarts from 'echarts';
import { Trade, PairHistory, PlotConfig } from '../../store/types';
import randomColor from '../../shared/randomColor';
import { roundTimeframe } from '../../shared/timemath';
import { timestampms } from '../../shared/formatters';
import { Trade, PairHistory, PlotConfig } from '@/store/types';
import randomColor from '@/shared/randomColor';
import { roundTimeframe } from '@/shared/timemath';
import { timestampms } from '@/shared/formatters';
import 'echarts';

View File

@ -104,9 +104,9 @@
<script lang="ts">
import { Component, Vue, Prop, Emit } from 'vue-property-decorator';
import { namespace } from 'vuex-class';
import { PlotConfig, EMPTY_PLOTCONFIG } from '../../store/types';
import randomColor from '../../shared/randomColor';
import { loadCustomPlotConfig } from '../../shared/storage';
import { PlotConfig, EMPTY_PLOTCONFIG } from '@/store/types';
import randomColor from '@/shared/randomColor';
import { loadCustomPlotConfig } from '@/shared/storage';
const ftbot = namespace('ftbot');

View File

@ -38,7 +38,7 @@
<script lang="ts">
import { Component, Vue, Emit } from 'vue-property-decorator';
import { dateStringToTimeRange, timestampToDateString } from '../../shared/formatters';
import { dateStringToTimeRange, timestampToDateString } from '@/shared/formatters';
const now = new Date();
@Component({})

View File

@ -50,13 +50,8 @@ import { namespace } from 'vuex-class';
import CandleChart from '@/components/ftbot/CandleChart.vue';
import PlotConfigurator from '@/components/ftbot/PlotConfigurator.vue';
import TimeRangeSelect from '@/components/ftbot/TimeRangeSelect.vue';
import {
PlotConfig,
EMPTY_PLOTCONFIG,
PairCandlePayload,
PairHistoryPayload,
} from '../store/types';
import { loadCustomPlotConfig } from '../shared/storage';
import { PlotConfig, EMPTY_PLOTCONFIG, PairCandlePayload, PairHistoryPayload } from '@/store/types';
import { loadCustomPlotConfig } from '@/shared/storage';
const ftbot = namespace('ftbot');
@Component({