Skip to content

Commit

Permalink
[Add] VSCode Laravel Blade extension recommended by Laravel Sail to D…
Browse files Browse the repository at this point in the history
…evContainer configuration
  • Loading branch information
bumbummen99 committed Nov 24, 2024
1 parent 8b7e61b commit bcb9f4a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@
// "features": {},

// Configure tool-specific properties.
// "customizations": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [8080]
"customizations": {
"vscode": {
"extensions": [
"onecentlin.laravel-blade"
]
}
}

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html"
Expand Down
2 changes: 1 addition & 1 deletion src/Blocks/Card.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use SkyRaptor\FilamentBlocksBuilder\Forms;

/**
* This layout block defines a "card" component.
* This block defines a "card" component.
*/
class Card extends Block
{
Expand Down
2 changes: 1 addition & 1 deletion src/Blocks/Typography/Paragraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Paragraph extends Block
public static function block(Form $form): Builder\Block
{
return parent::block($form)->schema([
Components\Textarea::make('content')
Components\MarkdownEditor::make('content')
->required(),
]);
}
Expand Down

0 comments on commit bcb9f4a

Please sign in to comment.