Skip to content

Commit 363a70f

Browse files
loic425stlgaits
andauthored
Apply suggestions from code review
Co-authored-by: Estelle Gaits <74190794+stlgaits@users.noreply.github.com>
1 parent 74e6d80 commit 363a70f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/getting-started.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ Now, it's your turn!
6363
6464
### Using AssetMapper
6565
66-
You may need to disable the Stimulus App started on `sylius/bootstrap-admin-ui` package and start it yourself to prevent twice Ajax calls.
66+
To prevent duplicate Ajax calls, disable the auto-initialized Stimulus app and Symfony UX stylesheets from the `sylius/bootstrap-admin-ui` package, so you can take control of Stimulus initialization in your own code.
6767
6868
#### Disabling Stimulus app & Symfony UX stylesheets from third party package
6969
70-
First, you need to disable the Stimulus App started on `sylius/bootstrap-admin-ui` package.
70+
First, you need to disable the Stimulus App started by the `sylius/bootstrap-admin-ui` package.
7171
7272
{% tabs %}
7373
{% tab title="YAML" %}
@@ -92,9 +92,8 @@ sylius_twig_hooks:
9292
{% endtab %}
9393
9494
{% tab title="PHP" %}
95-
{% code lineNumbers="true" %}
95+
{% code title="config/packages/sylius_bootstrap_admin_ui.php" lineNumbers="true" %}
9696
```php
97-
// config/packages/sylius_bootstrap_admin_ui.php
9897
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
9998
10099
return static function (ContainerConfigurator $containerConfigurator): void {

0 commit comments

Comments
 (0)