-
Notifications
You must be signed in to change notification settings - Fork 0
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
Michael Rook
committed
Aug 8, 2021
1 parent
e0354ec
commit 344af4e
Showing
5 changed files
with
78 additions
and
66 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 |
---|---|---|
@@ -1,16 +1,17 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Mode | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Which Javascript/Html mode to use? | ||
| Native: uses https://github.com/handmadeweb/datafetcher.js which uses native Javascript, besure to include @frostyScripts or {{ frosty:scripts }} in your footer. | ||
| Alpine: uses Alpine.Js, besure to load it. | ||
| | ||
* Javascript Mode | ||
* | ||
* Which Javascript mode to use? | ||
* | ||
* native: uses https://github.com/handmadeweb/datafetcher.js | ||
* - If you aren't using Alpine Js in your application then you'll need to load handmadeweb/datafetcher.js in your footer. | ||
* - You can either do this manually, or via the provided helpers for Alpine: `{{ frosty:scripts }}` | ||
* - Blade: `@frostyScripts` or PHP: `\HandmadeWeb\Frosty\Frosty::scripts();` | ||
* | ||
* alpine: uses Alpine.Js, be sure to load it. | ||
*/ | ||
'mode' => 'native', | ||
]; |
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