File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Svelte is a JavaScript framework for building user interfaces.
8
8
Symfony UX Svelte provides tools to render Svelte components from Twig,
9
9
handling rendering and data transfers.
10
10
11
- Symfony UX Svelte supports Svelte 3 only .
11
+ Symfony UX Svelte supports Svelte 3 and Svelte 4 .
12
12
13
13
Installation
14
14
------------
@@ -35,16 +35,16 @@ Then install the bundle using Composer and Symfony Flex:
35
35
36
36
The Flex recipe will automatically set things up for you, like adding
37
37
``.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 ``.
39
39
40
40
Next, install a package to help Svelte:
41
41
42
42
.. code-block :: terminal
43
43
44
- $ npm install svelte svelte -loader --save-dev
44
+ $ npm install svelte-loader --save-dev
45
45
46
46
# or use yarn
47
- $ yarn add svelte svelte -loader --dev
47
+ $ yarn add svelte-loader --dev
48
48
49
49
That's it! Any files inside ``assets/svelte/controllers/ `` can now be rendered as
50
50
Svelte components.
You can’t perform that action at this time.
0 commit comments