mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 07:34:45 +02:00
wip
This commit is contained in:
parent
61da930909
commit
fc3ca29559
@ -13,7 +13,7 @@
|
||||
"chillerlan/php-qrcode": "^5.0.2",
|
||||
"dedoc/scramble": "^0.12.10",
|
||||
"doctrine/dbal": "~3.6.0",
|
||||
"filament/filament": "4.0",
|
||||
"filament/filament": "v4.0.0-alpha1",
|
||||
"filament/upgrade": "^4.0@alpha",
|
||||
"guzzlehttp/guzzle": "^7.9",
|
||||
"laravel/framework": "^12.10",
|
||||
@ -77,7 +77,8 @@
|
||||
"cs:check": "php-cs-fixer fix --dry-run --diff --verbose",
|
||||
"phpstan": "phpstan --memory-limit=-1",
|
||||
"post-autoload-dump": [
|
||||
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump"
|
||||
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
||||
"@php artisan filament:upgrade"
|
||||
],
|
||||
"post-install-cmd": [
|
||||
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
||||
|
2533
package-lock.json
generated
Normal file
2533
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -8,6 +8,7 @@
|
||||
"devDependencies": {
|
||||
"@tailwindcss/forms": "^0.5.9",
|
||||
"@tailwindcss/typography": "^0.5.15",
|
||||
"@tailwindcss/vite": "^4.1.4",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"axios": "^1.7.4",
|
||||
"concurrently": "^9.0.1",
|
||||
@ -15,7 +16,7 @@
|
||||
"postcss": "^8.4.47",
|
||||
"postcss-nesting": "^13.0.1",
|
||||
"prettier": "^3.4.2",
|
||||
"tailwindcss": "^3.4.13",
|
||||
"tailwindcss": "^3.4.17",
|
||||
"vite": "^6.0"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,12 @@
|
||||
@import 'tailwindcss';
|
||||
@import '../../vendor/filament/support/resources/css/index.css';
|
||||
@import '../../vendor/filament/actions/resources/css/index.css';
|
||||
@import '../../vendor/filament/forms/resources/css/index.css';
|
||||
@import '../../vendor/filament/infolists/resources/css/index.css';
|
||||
@import '../../vendor/filament/notifications/resources/css/index.css';
|
||||
@import '../../vendor/filament/schemas/resources/css/index.css';
|
||||
@import '../../vendor/filament/tables/resources/css/index.css';
|
||||
@import '../../vendor/filament/widgets/resources/css/index.css';
|
||||
|
||||
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
|
||||
@source '../../storage/framework/views/*.php';
|
||||
@ -8,7 +15,8 @@
|
||||
@source "../**/*.vue";
|
||||
|
||||
@theme {
|
||||
--font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif,
|
||||
--font-sans:
|
||||
'Instrument Sans', ui-sans-serif, system-ui, sans-serif,
|
||||
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
'Noto Color Emoji';
|
||||
}
|
||||
|
12
resources/views/components/layouts/app.blade.php
Normal file
12
resources/views/components/layouts/app.blade.php
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>{{ $title ?? 'Page Title' }}</title>
|
||||
</head>
|
||||
<body>
|
||||
{{ $slot }}
|
||||
</body>
|
||||
</html>
|
@ -1,28 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
||||
<meta name="application-name" content="{{ config('app.name') }}" />
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<title>{{ config('app.name') }}</title>
|
||||
|
||||
<style>
|
||||
[x-cloak] {
|
||||
display: none !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
@filamentStyles
|
||||
@vite('resources/css/app.css')
|
||||
</head>
|
||||
|
||||
<body class="antialiased">
|
||||
{{ $slot }}
|
||||
|
||||
@filamentScripts
|
||||
@vite('resources/js/app.js')
|
||||
</body>
|
||||
</html>
|
@ -1,13 +0,0 @@
|
||||
import preset from './vendor/filament/support/tailwind.config.preset';
|
||||
|
||||
export default {
|
||||
presets: [preset],
|
||||
content: ['./app/**/*.php', './resources/**/*.blade.php', './vendor/filament/**/*.blade.php'],
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
sans: ['Inter', 'sans-serif'],
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
@ -1,14 +1,13 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import laravel, { refreshPaths } from 'laravel-vite-plugin'
|
||||
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: [
|
||||
...refreshPaths,
|
||||
'app/Livewire/**',
|
||||
],
|
||||
refresh: true,
|
||||
}),
|
||||
tailwindcss(),
|
||||
],
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user