File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 44<head >
55 <meta charset =" UTF-8" >
66 <meta name =" viewport" content =" width=device-width, initial-scale=1.0" >
7- <title >{{ getenv (' APP_NAME' ) ?? ' Leaf MVC' } } </title >
7+ <title >{{ _env (' APP_NAME' , ' My Leaf MVC App ' ) } } </title >
88 <link rel =" shortcut icon" href =" https://leafphp.dev/logo-circle.png" type =" image/x-icon" >
99
1010 {{-- assets() points to the public/assets folder --}}
1414 You generally want to keep all your css and js in the public folder
1515 unless you are using a bundler like vite. vite() looks for assets in
1616 the app/views folder by default. You can uncomment the line below to
17- use vite. Be sure to run `npm run dev` or `npm run build` first.
17+ use vite.
18+
19+ Be sure to run `npm install` and then `npm run dev` or `npm run build` first.
1820 --}}
1921 {{-- {{ vite('css/app.css') }} --}}
2022
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import leaf from '@leafphp/vite-plugin';
44export default defineConfig ( {
55 plugins : [
66 leaf ( {
7- input : [ 'app/views/js/app.js' , 'app/views/ css/app.css'] ,
7+ input : [ 'app/views/css/app.css' ] ,
88 refresh : true ,
99 } ) ,
1010 ] ,
You can’t perform that action at this time.
0 commit comments