Compare commits

..
5 Commits
Author SHA1 Message Date
Mohammad.Hassan.Khalsi b78e9c5222 fix 2026-01-21 16:20:49 +03:30
Mohammad.Hassan.Khalsi a3d9d3cff2 fix: install locally font icon 'mdi' in project 2026-01-21 16:18:55 +03:30
Mohammad.Hassan.Khalsi d62363a17f chore: remove google font 2026-01-21 16:17:28 +03:30
saeid.khakbazan 46fc80cc10 Update Dockerfile 2025-12-01 18:43:26 +00:00
saeid.khakbazan 796acb0336 Update Dockerfile 2025-12-01 18:43:05 +00:00
5 changed files with 28 additions and 22 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
FROM docker.meshkee.com/repository/docker-hosted/node:14 as build-stage
FROM node:14 as build-stage
ARG REGISTRY_TOKEN
@@ -21,7 +21,7 @@ COPY ./ .
RUN npm run build
# production stage
FROM docker.meshkee.com/repository/docker-hosted/nginx as production-stage
FROM nginx as production-stage
RUN mkdir /app
+21 -13
View File
@@ -1891,6 +1891,27 @@
"whatwg-fetch": "^3.6.2"
},
"dependencies": {
"@vue/vue-loader-v15": {
"version": "npm:vue-loader@15.11.1",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-15.11.1.tgz",
"integrity": "sha512-0iw4VchYLePqJfJu9s62ACWUXeSqM30SQqlIftbYWM3C+jpPcEHKSPUZBLjSF9au4HTHQ/naF6OGnO3Q/qGR3Q==",
"dev": true,
"requires": {
"@vue/component-compiler-utils": "^3.1.0",
"hash-sum": "^1.0.2",
"loader-utils": "^1.1.0",
"vue-hot-reload-api": "^2.3.0",
"vue-style-loader": "^4.1.0"
},
"dependencies": {
"hash-sum": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-1.0.2.tgz",
"integrity": "sha512-fUs4B4L+mlt8/XAtSOGMUO1TXmAelItBPtJG7CyHJfYTdDjwisntGO2JQz7oUsatOY9o68+57eziUVNw/mRHmA==",
"dev": true
}
}
},
"hash-sum": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-2.0.0.tgz",
@@ -2043,19 +2064,6 @@
"integrity": "sha512-AbOPdQQnAnzs58H2FrrDxYj/TJfmeS2jdfEEhgiKINy+bnOANmVizIEgq1r+C5zsbs6l1CCQxtcj71rwNQ4jWg==",
"dev": true
},
"@vue/vue-loader-v15": {
"version": "npm:vue-loader@15.11.1",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-15.11.1.tgz",
"integrity": "sha512-0iw4VchYLePqJfJu9s62ACWUXeSqM30SQqlIftbYWM3C+jpPcEHKSPUZBLjSF9au4HTHQ/naF6OGnO3Q/qGR3Q==",
"dev": true,
"requires": {
"@vue/component-compiler-utils": "^3.1.0",
"hash-sum": "^1.0.2",
"loader-utils": "^1.1.0",
"vue-hot-reload-api": "^2.3.0",
"vue-style-loader": "^4.1.0"
}
},
"@vue/web-component-wrapper": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@vue/web-component-wrapper/-/web-component-wrapper-1.3.0.tgz",
+1 -1
View File
@@ -9,7 +9,7 @@
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.7.2",
"@mdi/font": "^2.5.94",
"@mdi/font": "^2.8.94",
"axios": "^1.5.0",
"bootstrap": "^4.0.0",
"chart.js": "^3.7.1",
-2
View File
@@ -6,8 +6,6 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css">
</head>
<body>
<noscript>
+4 -4
View File
@@ -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');