mirror of
https://git.meshkee.com/cssd/cssd-front.git
synced 2026-10-11 20:43:17 +03:30
fix: install locally font icon 'mdi' in project
This commit is contained in:
+4
-4
@@ -10,7 +10,7 @@ import './plugins/vuetify'
|
||||
// Config
|
||||
import { baseUrl } from './config';
|
||||
|
||||
// Material FontIcon
|
||||
// Material Design Icons (local)
|
||||
import 'material-design-icons-iconfont/dist/material-design-icons.css'
|
||||
// Fortawesome
|
||||
import '@fortawesome/fontawesome-free/css/all.css'
|
||||
@@ -31,7 +31,7 @@ import { ApiService, TokenService } from '@/services'
|
||||
// Sync store with router
|
||||
sync(store, router)
|
||||
|
||||
//vue filter for string
|
||||
// Vue filter for string
|
||||
Vue.filter('text_20_letter', function(value) {
|
||||
if (!value) return '';
|
||||
return value.slice(0, 20);
|
||||
@@ -43,7 +43,7 @@ ApiService.setHeader();
|
||||
ApiService.init(baseUrl())
|
||||
|
||||
require('./services/global/errorHandler.service');
|
||||
// If token exists set Authorizion header
|
||||
// If token exists set Authorization header
|
||||
if (TokenService.getToken()) {
|
||||
ApiService.setAuthHeader();
|
||||
|
||||
@@ -66,5 +66,5 @@ new Vue({
|
||||
router,
|
||||
store,
|
||||
render: h => h(App),
|
||||
iconfont: 'fa4'
|
||||
iconfont: 'mdi'
|
||||
}).$mount('#app');
|
||||
|
||||
Reference in New Issue
Block a user