From ffd102a1cc3f2634b39928577f8d2ad2c90e2b86 Mon Sep 17 00:00:00 2001 From: yisroel Date: Wed, 6 May 2026 14:47:31 +0300 Subject: [PATCH] drop inline laravel frontend assets frontend lives separately at frontend/blog_portal (vue 3 spa). removed backend/{vite.config.js,package.json,resources/css, resources/js}. --- backend/package.json | 17 ----------------- backend/resources/css/app.css | 11 ----------- backend/resources/js/app.js | 1 - backend/resources/js/bootstrap.js | 4 ---- backend/vite.config.js | 18 ------------------ 5 files changed, 51 deletions(-) delete mode 100644 backend/package.json delete mode 100644 backend/resources/css/app.css delete mode 100644 backend/resources/js/app.js delete mode 100644 backend/resources/js/bootstrap.js delete mode 100644 backend/vite.config.js diff --git a/backend/package.json b/backend/package.json deleted file mode 100644 index 7686b29..0000000 --- a/backend/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://www.schemastore.org/package.json", - "private": true, - "type": "module", - "scripts": { - "build": "vite build", - "dev": "vite" - }, - "devDependencies": { - "@tailwindcss/vite": "^4.0.0", - "axios": "^1.11.0", - "concurrently": "^9.0.1", - "laravel-vite-plugin": "^2.0.0", - "tailwindcss": "^4.0.0", - "vite": "^7.0.7" - } -} diff --git a/backend/resources/css/app.css b/backend/resources/css/app.css deleted file mode 100644 index 3e6abea..0000000 --- a/backend/resources/css/app.css +++ /dev/null @@ -1,11 +0,0 @@ -@import 'tailwindcss'; - -@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php'; -@source '../../storage/framework/views/*.php'; -@source '../**/*.blade.php'; -@source '../**/*.js'; - -@theme { - --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', - 'Segoe UI Symbol', 'Noto Color Emoji'; -} diff --git a/backend/resources/js/app.js b/backend/resources/js/app.js deleted file mode 100644 index e59d6a0..0000000 --- a/backend/resources/js/app.js +++ /dev/null @@ -1 +0,0 @@ -import './bootstrap'; diff --git a/backend/resources/js/bootstrap.js b/backend/resources/js/bootstrap.js deleted file mode 100644 index 5f1390b..0000000 --- a/backend/resources/js/bootstrap.js +++ /dev/null @@ -1,4 +0,0 @@ -import axios from 'axios'; -window.axios = axios; - -window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; diff --git a/backend/vite.config.js b/backend/vite.config.js deleted file mode 100644 index f35b4e7..0000000 --- a/backend/vite.config.js +++ /dev/null @@ -1,18 +0,0 @@ -import { defineConfig } from 'vite'; -import laravel from 'laravel-vite-plugin'; -import tailwindcss from '@tailwindcss/vite'; - -export default defineConfig({ - plugins: [ - laravel({ - input: ['resources/css/app.css', 'resources/js/app.js'], - refresh: true, - }), - tailwindcss(), - ], - server: { - watch: { - ignored: ['**/storage/framework/views/**'], - }, - }, -});