File tree Expand file tree Collapse file tree 5 files changed +5
-38
lines changed
Expand file tree Collapse file tree 5 files changed +5
-38
lines changed Original file line number Diff line number Diff line change 4040 VITE_RECAPTCHA_SECRET_KEY_V3 : ${{ secrets.VITE_RECAPTCHA_SECRET_KEY_V3 }}
4141 VITE_AHASEND_APIKEY : ${{ secrets.VITE_AHASEND_APIKEY }}
4242
43- - name : Check build output
44- working-directory : src/frontend
45- run : |
46- echo "=== Build Output Check ==="
47- ls -la dist/
48- echo "=== Index.html Head ==="
49- head -40 dist/index.html
50- echo "=== Index.html Tail ==="
51- tail -10 dist/index.html
52- echo "=== JavaScript Files ==="
53- find dist -name "*.js" -type f -exec basename {} \; | head -10
54- echo "=== Checking main JS content ==="
55- find dist -name "index-*.js" -type f -exec head -3 {} \;
56-
5743 - name : Deploy to FTP (Frontend)
5844 uses : SamKirkland/FTP-Deploy-Action@v4.3.5
5945 with :
Original file line number Diff line number Diff line change 11<script setup>
2- import { onMounted , onErrorCaptured } from " vue"
2+ import { onErrorCaptured } from " vue"
33import {
44 Preloader ,
55 PageBorders ,
@@ -9,14 +9,9 @@ import {
99 PageFooter ,
1010} from " ./components"
1111
12- onMounted (() => {
13- console .log (" 📱 App.vue mounted successfully!" )
14- })
15-
1612onErrorCaptured ((error , instance , errorInfo ) => {
17- console .error (" ❌ App Error Captured:" , error)
18- console .error (" 📍 Error Info:" , errorInfo)
19- return false // Propagate error
13+ console .error (" App Error:" , error)
14+ return false
2015})
2116 </script >
2217
Original file line number Diff line number Diff line change @@ -7,13 +7,6 @@ import { pinia, i18n } from "./plugins"
77import App from "./App.vue"
88import router from "./router"
99
10- console . log ( "🚀 App starting..." )
11- console . log ( "📍 Base URL:" , import . meta. env . BASE_URL )
12- console . log ( "🌍 Mode:" , import . meta. env . MODE )
13- console . log ( "🔗 Router ready:" , router )
14-
1510const app = createApp ( App )
1611app . config . globalProperties . applicationName = "Evren.Dev"
1712app . use ( router ) . use ( pinia ) . use ( i18n ) . mount ( "#app" )
18-
19- console . log ( "✅ App mounted successfully!" )
Original file line number Diff line number Diff line change @@ -134,15 +134,8 @@ router.afterEach(to => {
134134 metaKeywordsTag . setAttribute ( "content" , keywords )
135135} )
136136
137- // Debug ve Error Handling
138- router . beforeEach ( ( to , from , next ) => {
139- console . log ( "🧭 Navigating to:" , to . path )
140- console . log ( "🌐 Locale:" , to . params . locale )
141- next ( )
142- } )
143-
144137router . onError ( error => {
145- console . error ( "❌ Router Error:" , error )
138+ console . error ( "Router Error:" , error )
146139} )
147140
148141export default router
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export default defineConfig(({ mode }) => {
7777 minify : "terser" ,
7878 terserOptions : {
7979 compress : {
80- drop_console : false , // Console mesajlarını koru!
80+ drop_console : true ,
8181 drop_debugger : true ,
8282 } ,
8383 } ,
You can’t perform that action at this time.
0 commit comments