-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a4e0f6
commit 01f8bd1
Showing
19 changed files
with
244 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,4 +46,8 @@ | |
'namespace' => 'App\Http\Controllers', | ||
], | ||
|
||
'livewire' => [ | ||
'namespace' => 'App\Livewire', | ||
], | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,19 @@ | ||
{ | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"dev": "npm run development", | ||
"development": "mix", | ||
"watch": "mix watch", | ||
"watch-poll": "mix watch -- --watch-options-poll=1000", | ||
"hot": "mix watch --hot", | ||
"prod": "npm run production", | ||
"production": "mix --production" | ||
"dev": "vite", | ||
"build": "vite build" | ||
}, | ||
"devDependencies": { | ||
"@popperjs/core": "^2.11", | ||
"axios": "^1.7", | ||
"bootstrap": "^4.6", | ||
"bootstrap": "^5.3", | ||
"bootstrap-icons": "^1.11", | ||
"cross-env": "^7.0", | ||
"jquery": "^3.7.1", | ||
"laravel-mix": "^6.0", | ||
"lodash": "^4.17.21", | ||
"popper.js": "^1.16.1", | ||
"resolve-url-loader": "^5.0.0", | ||
"sass": "^1.77.8", | ||
"sass-loader": "^14.2.1" | ||
"laravel-vite-plugin": "^1.0", | ||
"lodash": "^4.17", | ||
"postcss": "^8.4", | ||
"sass": "1.76.0", | ||
"vite": "^6.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
require('./bootstrap'); | ||
//Import Bootstrap File | ||
import './bootstrap'; | ||
|
||
// Import our custom CSS | ||
import '../sass/app.scss' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
window._ = require('lodash'); | ||
import _ from 'lodash'; | ||
window._ = _; | ||
|
||
try { | ||
window.Popper = require('popper.js').default; | ||
window.$ = window.jQuery = require('jquery'); | ||
require('bootstrap'); | ||
} catch (e) {} | ||
// Import all of Bootstrap's JS | ||
import * as bootstrap from 'bootstrap' | ||
window.bootstrap = bootstrap; | ||
|
||
window.axios = require('axios'); | ||
// Import Axios | ||
import axios from 'axios'; | ||
window.axios = axios; | ||
|
||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
// Fonts | ||
@import url('https://fonts.bunny.net/css?family=Nunito'); | ||
|
||
// Variables | ||
@import 'variables'; | ||
|
||
@import '~bootstrap/scss/bootstrap'; | ||
// Bootstrap | ||
@import 'bootstrap/scss/bootstrap'; | ||
|
||
// Bootstrap Icons | ||
@import '~bootstrap-icons/font/bootstrap-icons.css'; | ||
|
||
@import '../css/app.css'; | ||
@import 'bootstrap-icons/font/bootstrap-icons.css'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { defineConfig } from 'vite'; | ||
import laravel from 'laravel-vite-plugin'; | ||
import path from 'path' | ||
|
||
export default defineConfig({ | ||
plugins: [ | ||
laravel({ | ||
input: ['resources/js/app.js'], | ||
refresh: true, | ||
}), | ||
], | ||
resolve: { | ||
alias: { | ||
'~bootstrap': path.resolve(__dirname, 'node_modules/bootstrap'), | ||
} | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.