Skip to content

Commit

Permalink
include app.css in vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
SethSharp committed Feb 20, 2024
1 parent 4f38d08 commit 2580c64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion resources/views/layouts/main.blade.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@vite('resources/css/app.css')

<title> @yield('title', config('app.name')) </title>
<meta name="description"
content="Hey I am Seth Sharp, a Junior Software developer at Coding Labs on the Gold Coast. I love to build ambitious projects and love the art of programming.">

<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js"></script>

@vite('resources/css/app.css')

@livewireStyles
</head>

Expand Down
5 changes: 4 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ import vue from '@vitejs/plugin-vue';
export default defineConfig({
plugins: [
laravel({
input: 'resources/js/app.js',
input: [
'resources/css/app.css',
'resources/js/app.js',
],
refresh: true,
}),
vue({
Expand Down

0 comments on commit 2580c64

Please sign in to comment.