mirror of
https://github.com/Xevion/power-math.git
synced 2026-02-01 00:25:13 -06:00
base Vue client files (config, App, yarn [!] lock & packages, ignore)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="css">
|
||||
</style>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'App',
|
||||
data() {
|
||||
return {
|
||||
currentQuestion: null
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
fetchQuestion() {
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.7 KiB |
@@ -0,0 +1,27 @@
|
||||
import Vue from 'vue'
|
||||
import App from './App.vue'
|
||||
import axios from 'axios'
|
||||
import VueAxios from 'vue-axios'
|
||||
import VueHighlightJS from 'vue-highlightjs'
|
||||
import VueMaterial from 'vue-material'
|
||||
import json from 'highlight.js/lib/languages/css';
|
||||
import 'vue-material/dist/vue-material.min.css'
|
||||
import 'vue-material/dist/theme/default.css'
|
||||
import 'highlight.js/styles/default.css';
|
||||
import InfiniteLoading from "vue-infinite-loading";
|
||||
|
||||
Vue.use(VueHighlightJS, {languages: {json}})
|
||||
Vue.use(VueMaterial)
|
||||
Vue.use(VueAxios, axios)
|
||||
Vue.use(InfiniteLoading, {
|
||||
system: {
|
||||
// throttleLimit: 500,
|
||||
/* other settings need to configure */
|
||||
},
|
||||
});
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
new Vue({
|
||||
render: h => h(App),
|
||||
}).$mount('#app')
|
||||
Reference in New Issue
Block a user