Skip to content

Commit

Permalink
Merge pull request #7 from tales-from-a-dev/docs/bundle
Browse files Browse the repository at this point in the history
📝 Update documentation for Symfony
  • Loading branch information
ker0x authored Nov 18, 2023
2 parents 6a183b4 + daacfdc commit 3439a10
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ composer require tales-from-a-dev/twig-tailwind-extra

### Symfony

If you are using Symfony Flex, this is done automatically, otherwise , add the following lines to your `services.yaml`:
If you are using Symfony Flex, this is done automatically, otherwise register the bundle into `config/bundles.php`:

```yaml
# services.yaml
```php
// config/bundles.php

services:
TalesFromADev\Twig\Extra\Tailwind\TailwindExtension: null
return [
// ...
TalesFromADev\Twig\Extra\Tailwind\Bridge\Symfony\Bundle\TalesFromADevTwigExtraTailwindBundle::class => ['all' => true],
];
```

### Standalone
Expand Down

0 comments on commit 3439a10

Please sign in to comment.