Vite migration

This commit is contained in:
2022-05-06 10:24:39 +00:00
parent e4a9bfec3c
commit e57e664cd2
18 changed files with 3947 additions and 12529 deletions

View File

@@ -8,7 +8,7 @@
import { ref, watch, toRefs, nextTick } from 'vue'
import Highcharts from 'highcharts'
import 'highcharts/css/highcharts.scss'
import Loader from '@/components/Loader'
import Loader from '@/components/Loader.vue'
import { capitalizeFirstLetter } from '@/utils/helpers'
Highcharts.setOptions({

View File

@@ -11,9 +11,9 @@
<script>
import { ref } from 'vue'
import { useRouter } from 'vue-router'
import NavBar from '@/components/NavBar'
import TimeWindows from '@/components/TimeWindows'
import Chart from '@/components/Chart'
import NavBar from '@/components/NavBar.vue'
import TimeWindows from '@/components/TimeWindows.vue'
import Chart from '@/components/Chart.vue'
export default {
components: {
NavBar,

View File

@@ -1,5 +1,5 @@
import { createApp } from 'vue'
import App from '@/App'
import App from '@/App.vue'
import router from '@/router'
import '@/style/style.scss'

View File

@@ -1,8 +1,7 @@
import { createRouter, createWebHistory } from 'vue-router'
import Main from '@/components/Main'
import Main from '@/components/Main.vue'
export default createRouter({
history: createWebHistory(),
base: process.env.BASE_URL,
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/:type?/:window?',

View File

@@ -4,4 +4,4 @@ $tabs-link-active-border-bottom-color: #3498db;
$family-sans-serif: 'Fira Sans', sans-serif;
$gap: 32px !default;
$navbar-breakpoint: 960px + (2 * $gap);
@import "~bulma/sass/utilities/_all.sass";
@import "bulma/sass/utilities/_all.sass";

View File

@@ -5,4 +5,4 @@ html, body {
overflow: auto!important;
}
@import "./variables";
@import "~bulma/bulma";
@import "bulma/bulma";