dedsudiyu 1 неделя назад
Родитель
Сommit
02207267e1
3 измененных файлов с 3 добавлено и 2 удалено
  1. 1 1
      src/router/index.js
  2. 1 1
      src/views/Login.vue
  3. 1 0
      vue.config.js

+ 1 - 1
src/router/index.js

@@ -28,7 +28,7 @@ const routes = [
 ]
 
 const router = new VueRouter({
-  mode: 'history',
+  mode: 'hash',
   routes
 })
 

+ 1 - 1
src/views/Login.vue

@@ -158,10 +158,10 @@ export default {
     letter-spacing: 4px;
   }
 }
-
 .login-form-wrapper {
   width: 420px;
   padding: 40px;
+  margin:40px;
   background: rgba(13, 34, 71, 0.85);
   border: 1px solid rgba(30, 144, 255, 0.3);
   border-radius: 8px;

+ 1 - 0
vue.config.js

@@ -5,6 +5,7 @@ module.exports = defineConfig({
   transpileDependencies: true,
   lintOnSave: false,
   productionSourceMap: false,
+  publicPath: './',
 
   devServer: {
     port: 8080,