@@ -406,7 +406,7 @@ CSS can be added to your page by importing it from a JavaScript file. The defaul
406
406
// ...
407
407
408
408
When you call ``importmap('app') `` in ``base.html.twig ``, AssetMapper parses
409
- ``assets/app.js `` (and any JavaScript files that * it * imports) looking for ``import ``
409
+ ``assets/app.js `` (and any JavaScript files that it imports) looking for ``import ``
410
410
statements for CSS files. The final collection of CSS files is rendered onto
411
411
the page as ``link `` tags in the order they were imported.
412
412
@@ -513,7 +513,7 @@ Missing importmap Entry
513
513
~~~~~~~~~~~~~~~~~~~~~~~
514
514
515
515
One of the most common errors will come from your browser's console, and
516
- will something like this:
516
+ will look something like this:
517
517
518
518
Failed to resolve module specifier " bootstrap". Relative references must start
519
519
with either "/", "./", or "../".
@@ -764,25 +764,25 @@ If you *do* need to support very old browsers, you should use a tool like
764
764
(https://caniuse.com/import-maps), you can use an ``importShim() `` function
765
765
from the shim: https://www.npmjs.com/package/es-module-shims#user-content-polyfill-edge-case-dynamic-import
766
766
767
- Can I Use with Sass or Tailwind?
768
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
767
+ Can I Use it with Sass or Tailwind?
768
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
769
769
770
770
Sure! See :ref: `Using Tailwind CSS <asset-mapper-tailwind >` or :ref: `Using Sass <asset-mapper-sass >`.
771
771
772
- Can I use with TypeScript?
773
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
772
+ Can I Use it with TypeScript?
773
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
774
774
775
775
Sure! See :ref: `Using TypeScript <asset-mapper-ts >`.
776
776
777
- Can I use with JSX or Vue?
778
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
777
+ Can I Use it with JSX or Vue?
778
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
779
779
780
780
Probably not. And if you're writing an application in React, Svelte or another
781
781
frontend framework, you'll probably be better off using *their * tools directly.
782
782
783
783
JSX *can * be compiled directly to a native JavaScript file but if you're using a lot of JSX,
784
784
you'll probably want to use a tool like :ref: `Encore <frontend-webpack-encore >`.
785
- See the `UX React Documentation `_ for more details about using with the AssetMapper
785
+ See the `UX React Documentation `_ for more details about using it with the AssetMapper
786
786
component.
787
787
788
788
Vue files *can * be written in native JavaScript, and those *will * work with
@@ -796,7 +796,7 @@ component.
796
796
Using TypeScript
797
797
----------------
798
798
799
- To use TypeScript with AssetMapper component, check out `sensiolabs/typescript-bundle `_.
799
+ To use TypeScript with the AssetMapper component, check out `sensiolabs/typescript-bundle `_.
800
800
801
801
Third-Party Bundles & Custom Asset Paths
802
802
----------------------------------------
@@ -875,7 +875,7 @@ Then try the command again.
875
875
Configuration Options
876
876
---------------------
877
877
878
- You can see every available configuration option and some info by running:
878
+ You can see every available configuration options and some info by running:
879
879
880
880
.. code-block :: terminal
881
881
@@ -897,7 +897,7 @@ can be a simple list:
897
897
- assets/
898
898
- vendor/some/package/assets
899
899
900
- Of you can give each path a "namespace" that will be used in the asset map:
900
+ Or you can give each path a "namespace" that will be used in the asset map:
901
901
902
902
.. code-block :: yaml
903
903
@@ -1101,7 +1101,7 @@ command that checks security vulnerabilities in the dependencies of your applica
1101
1101
6 vulnerabilities found: 1 Critical / 1 High / 4 Medium
1102
1102
1103
1103
The command will return the ``0 `` exit code if no vulnerability is found, or
1104
- the ``- 1 `` exit code otherwise. This means that you can seamlessly integrate this
1104
+ the ``1 `` exit code otherwise. This means that you can seamlessly integrate this
1105
1105
command as part of your CI to be warned anytime a new vulnerability is found.
1106
1106
1107
1107
.. tip ::
0 commit comments