@@ -5,7 +5,7 @@ Symfony gives you the flexibility to choose any front-end tools you want. There
55are generally two approaches:
66
77#. :ref: `building your HTML with PHP & Twig <frontend-twig-php >`;
8- #. :ref: `building your frontend with a JavaScript framework <frontend-js >` like React.
8+ #. :ref: `building your frontend with a JavaScript framework <frontend-js >` like React, Vue, Svelte, etc .
99
1010Both work great - and are discussed below.
1111
@@ -14,8 +14,7 @@ Both work great - and are discussed below.
1414Using PHP & Twig
1515----------------
1616
17- Symfony comes with two powerful options to help you build a modern,
18- fast frontend, *and * enjoy the process:
17+ Symfony comes with two powerful options to help you build a modern and fast frontend:
1918
2019* :ref: `AssetMapper <frontend-asset-mapper >` (recommended for new projects) runs
2120 entirely in PHP, doesn't require any build step and leverages modern web standards.
@@ -51,7 +50,7 @@ AssetMapper (Recommended)
5150~~~~~~~~~~~~~~~~~~~~~~~~~
5251
5352AssetMapper is the recommended system for handling your assets. It runs entirely
54- in PHP with * no * complex build step or dependencies. It does this by leveraging
53+ in PHP with no complex build step or dependencies. It does this by leveraging
5554the ``importmap `` feature of your browser, which is available in all browsers thanks
5655to a polyfill.
5756
@@ -67,20 +66,19 @@ Webpack Encore
6766 Do you prefer video tutorials? Check out the `Webpack Encore screencast series `_.
6867
6968`Webpack Encore `_ is a simpler way to integrate `Webpack `_ into your application.
70- It *wraps * Webpack, giving you a clean & powerful API for bundling JavaScript modules,
71- pre-processing CSS & JS and compiling and minifying assets. Encore gives you a professional
72- asset system that's a *delight * to use.
69+ It wraps Webpack, giving you a clean & powerful API for bundling JavaScript modules,
70+ pre-processing CSS & JS and compiling and minifying assets.
7371
7472:doc: `Read the Encore Documentation </frontend/encore/index >`
7573
7674Stimulus & Symfony UX Components
7775~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7876
79- Once you've installed AssetMapper or Encore, it's time to start building your
77+ Once you've installed AssetMapper or Webpack Encore, it's time to start building your
8078front-end. You can write your JavaScript however you want, but we recommend
8179using `Stimulus `_, `Turbo `_ and a set of tools called `Symfony UX `_.
8280
83- To learn about Stimulus & the UX Components, see:
81+ To learn about Stimulus & the UX Components, see
8482the `StimulusBundle Documentation `_
8583
8684.. _frontend-js :
0 commit comments