mirror of
https://github.com/Xevion/power-math.git
synced 2025-12-11 04:08:01 -06:00
begin working on settings menu, font awesome cog icon menu, disable scrollbar
This commit is contained in:
18
src/main.js
18
src/main.js
@@ -1,16 +1,28 @@
|
||||
import Vue from 'vue'
|
||||
import VueKatex from 'vue-katex';
|
||||
import { Input, Field } from 'buefy';
|
||||
import {ConfigProgrammatic, Input, Field, Button, Icon} from 'buefy';
|
||||
import {library} from '@fortawesome/fontawesome-svg-core';
|
||||
import {faCog} from "@fortawesome/free-solid-svg-icons";
|
||||
import {FontAwesomeIcon} from "@fortawesome/vue-fontawesome";
|
||||
import App from './App.vue'
|
||||
import 'katex/dist/katex.min.css';
|
||||
import './scss/buefy.scss';
|
||||
import 'animate.css/animate.min.css';
|
||||
|
||||
|
||||
Vue.config.productionTip = false
|
||||
library.add(faCog);
|
||||
Vue.component('vue-fontawesome', FontAwesomeIcon);
|
||||
|
||||
Vue.use(Input);
|
||||
Vue.use(Field);
|
||||
Vue.use(VueKatex)
|
||||
Vue.use(Button);
|
||||
Vue.use(Icon);
|
||||
ConfigProgrammatic.setOptions({
|
||||
defaultIconComponent: 'vue-fontawesome',
|
||||
defaultIconPack: 'fas'
|
||||
})
|
||||
Vue.use(VueKatex);
|
||||
|
||||
|
||||
new Vue({
|
||||
render: h => h(App),
|
||||
|
||||
Reference in New Issue
Block a user