[O] Inline loading script
This commit is contained in:
@@ -8,7 +8,7 @@ import pWaitFor from 'p-wait-for';
|
||||
import {HttpUtils} from '@/utils/http-utils';
|
||||
import {CourseUtils} from '@/utils/course-utils';
|
||||
import {GPAUtils} from '@/utils/gpa-utils';
|
||||
import Loading from '@/components/loading/loading';
|
||||
import Loading from '@/components/loading/loading.vue';
|
||||
|
||||
/**
|
||||
* Objects of this interface represent assignment grades.
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
import {Component, Prop, Vue} from 'vue-property-decorator';
|
||||
|
||||
@Component({
|
||||
components: {}
|
||||
})
|
||||
export default class Loading extends Vue
|
||||
{
|
||||
// @ts-ignore
|
||||
@Prop() text: string;
|
||||
}
|
||||
@@ -14,7 +14,18 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script src="./loading.ts" lang="ts"></script>
|
||||
<script lang="ts">
|
||||
import {Component, Prop, Vue} from 'vue-property-decorator';
|
||||
|
||||
@Component({
|
||||
components: {}
|
||||
})
|
||||
export default class Loading extends Vue
|
||||
{
|
||||
// @ts-ignore
|
||||
@Prop() text: string;
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
#loading
|
||||
|
||||
Reference in New Issue
Block a user