Skip to content

Commit 3c07f75

Browse files
committed
feat: setup vite defaults
1 parent 8fa66dd commit 3c07f75

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

.gitignore

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
vendor
2-
composer.lock
3-
.env
4-
node_modules
5-
build
6-
dist
7-
compiled
8-
.idea
9-
Auth2
1+
.env
2+
.env.backup
3+
.env.production
4+
build
5+
dist
6+
compiled
7+
.idea
8+
hot
9+
vendor
10+
node_modules
11+
npm-debug.log
12+
yarn-error.log

app/views/js/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('Hello World from app.js');

vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import leaf from '@leafphp/vite-plugin';
44
export default defineConfig({
55
plugins: [
66
leaf({
7-
input: ['js/app.js', 'css/app.css'],
7+
input: ['app/views/js/app.js', 'app/views/css/app.css'],
88
refresh: true,
99
}),
1010
],

0 commit comments

Comments
 (0)