Skip to content

Commit 6ceb80f

Browse files
committed
[Svelte] Update doc for Svelte 4 support
1 parent 23d99f2 commit 6ceb80f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Svelte/doc/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Svelte is a JavaScript framework for building user interfaces.
88
Symfony UX Svelte provides tools to render Svelte components from Twig,
99
handling rendering and data transfers.
1010

11-
Symfony UX Svelte supports Svelte 3 only.
11+
Symfony UX Svelte supports Svelte 3 and Svelte 4.
1212

1313
Installation
1414
------------
@@ -35,16 +35,16 @@ Then install the bundle using Composer and Symfony Flex:
3535
3636
The Flex recipe will automatically set things up for you, like adding
3737
``.enableSvelte()`` to your ``webpack.config.js`` file and adding code
38-
to load your Vue components inside ``assets/app.js``.
38+
to load your Svelte components inside ``assets/app.js``.
3939

4040
Next, install a package to help Svelte:
4141

4242
.. code-block:: terminal
4343
44-
$ npm install svelte svelte-loader --save-dev
44+
$ npm install svelte-loader --save-dev
4545
4646
# or use yarn
47-
$ yarn add svelte svelte-loader --dev
47+
$ yarn add svelte-loader --dev
4848
4949
That's it! Any files inside ``assets/svelte/controllers/`` can now be rendered as
5050
Svelte components.

0 commit comments

Comments
 (0)