-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add suport to Vite * Reidenting master.blade.php * Update master.blade.php * Update master.blade.php * Update master.blade.php * Insert 'type="module"' in script tags that uses $ * Remove 'vite_spa' option * Reident master.blade.php * Add vite_js_only option * [resources/views]: Highlight script section of components with blank lines again * [config]: Update docs for asset bundling section * [resources/views]: Revert some style changes on master and improve vite support --------- Co-authored-by: Diego Smania <[email protected]>
- Loading branch information
Showing
16 changed files
with
69 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -267,19 +267,23 @@ | |
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Laravel Mix | ||
| Laravel Asset Bundling | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here we can enable the Laravel Mix option for the admin panel. | ||
| Here we can enable the Laravel Asset Bundling option for the admin panel. | ||
| Currently, the next modes are supported: 'mix', 'vite' and 'vite_js_only'. | ||
| When using 'vite_js_only', it's expected that your CSS is imported using | ||
| JavaScript. Typically, in your application's 'resources/js/app.js' file. | ||
| If you are not using any of these, leave it as 'false'. | ||
| | ||
| For detailed instructions you can look the laravel mix section here: | ||
| For detailed instructions you can look the asset bundling section here: | ||
| https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Other-Configuration | ||
| | ||
*/ | ||
|
||
'enabled_laravel_mix' => false, | ||
'laravel_mix_css_path' => 'css/app.css', | ||
'laravel_mix_js_path' => 'js/app.js', | ||
'laravel_asset_bundling' => false, | ||
'laravel_css_path' => 'css/app.css', | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dfsmania
Author
Collaborator
|
||
'laravel_js_path' => 'js/app.js', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
|
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
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 |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
|
||
@once | ||
@push('js') | ||
<script> | ||
<script type="module"> | ||
$(() => { | ||
bsCustomFileInput.init(); | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
|
||
@if($errors->any() && $enableOldSupport) | ||
@push('js') | ||
<script> | ||
<script type="module"> | ||
$(() => { | ||
|
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
|
||
@once | ||
@push('js') | ||
<script> | ||
<script type="module"> | ||
$(() => { | ||
|
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
Should it be
resources/sass/app.scss
andresources/js/app.js
?