@@ -390,7 +390,7 @@ CSS can be added to your page by importing it from a JavaScript file. The defaul
390
390
// ...
391
391
392
392
When you call ``importmap('app') `` in ``base.html.twig ``, AssetMapper parses
393
- ``assets/app.js `` (and any JavaScript files that * it * imports) looking for ``import ``
393
+ ``assets/app.js `` (and any JavaScript files that it imports) looking for ``import ``
394
394
statements for CSS files. The final collection of CSS files is rendered onto
395
395
the page as ``link `` tags in the order they were imported.
396
396
@@ -497,7 +497,7 @@ Missing importmap Entry
497
497
~~~~~~~~~~~~~~~~~~~~~~~
498
498
499
499
One of the most common errors will come from your browser's console, and
500
- will something like this:
500
+ will look something like this:
501
501
502
502
Failed to resolve module specifier " bootstrap". Relative references must start
503
503
with either "/", "./", or "../".
@@ -739,25 +739,25 @@ If you *do* need to support very old browsers, you should use a tool like
739
739
(https://caniuse.com/import-maps), you can use an ``importShim() `` function
740
740
from the shim: https://www.npmjs.com/package/es-module-shims#user-content-polyfill-edge-case-dynamic-import
741
741
742
- Can I Use with Sass or Tailwind?
743
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
742
+ Can I Use it with Sass or Tailwind?
743
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
744
744
745
745
Sure! See :ref: `Using Tailwind CSS <asset-mapper-tailwind >` or :ref: `Using Sass <asset-mapper-sass >`.
746
746
747
- Can I use with TypeScript?
748
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
747
+ Can I Use it with TypeScript?
748
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
749
749
750
750
Sure! See :ref: `Using TypeScript <asset-mapper-ts >`.
751
751
752
- Can I use with JSX or Vue?
753
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
752
+ Can I Use it with JSX or Vue?
753
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
754
754
755
755
Probably not. And if you're writing an application in React, Svelte or another
756
756
frontend framework, you'll probably be better off using *their * tools directly.
757
757
758
758
JSX *can * be compiled directly to a native JavaScript file but if you're using a lot of JSX,
759
759
you'll probably want to use a tool like :ref: `Encore <frontend-webpack-encore >`.
760
- See the `UX React Documentation `_ for more details about using with the AssetMapper
760
+ See the `UX React Documentation `_ for more details about using it with the AssetMapper
761
761
component.
762
762
763
763
Vue files *can * be written in native JavaScript, and those *will * work with
@@ -771,7 +771,7 @@ component.
771
771
Using TypeScript
772
772
----------------
773
773
774
- To use TypeScript with AssetMapper component, check out `sensiolabs/typescript-bundle `_.
774
+ To use TypeScript with the AssetMapper component, check out `sensiolabs/typescript-bundle `_.
775
775
776
776
Third-Party Bundles & Custom Asset Paths
777
777
----------------------------------------
@@ -850,7 +850,7 @@ Then try the command again.
850
850
Configuration Options
851
851
---------------------
852
852
853
- You can see every available configuration option and some info by running:
853
+ You can see every available configuration options and some info by running:
854
854
855
855
.. code-block :: terminal
856
856
@@ -872,7 +872,7 @@ can be a simple list:
872
872
- assets/
873
873
- vendor/some/package/assets
874
874
875
- Of you can give each path a "namespace" that will be used in the asset map:
875
+ Or you can give each path a "namespace" that will be used in the asset map:
876
876
877
877
.. code-block :: yaml
878
878
@@ -1066,7 +1066,7 @@ command that checks security vulnerabilities in the dependencies of your applica
1066
1066
6 vulnerabilities found: 1 Critical / 1 High / 4 Medium
1067
1067
1068
1068
The command will return the ``0 `` exit code if no vulnerability is found, or
1069
- the ``- 1 `` exit code otherwise. This means that you can seamlessly integrate this
1069
+ the ``1 `` exit code otherwise. This means that you can seamlessly integrate this
1070
1070
command as part of your CI to be warned anytime a new vulnerability is found.
1071
1071
1072
1072
.. tip ::
0 commit comments