Skip to content

Commit

Permalink
tweak the AssetMapper docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Dec 24, 2023
1 parent b36f2a0 commit 722f199
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/asset_mapper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ CSS can be added to your page by importing it from a JavaScript file. The defaul
// ...
When you call ``importmap('app')`` in ``base.html.twig``, AssetMapper parses
``assets/app.js`` (and any JavaScript files that *it* imports) looking for ``import``
``assets/app.js`` (and any JavaScript files that it imports) looking for ``import``
statements for CSS files. The final collection of CSS files is rendered onto
the page as ``link`` tags in the order they were imported.

Expand Down Expand Up @@ -513,7 +513,7 @@ Missing importmap Entry
~~~~~~~~~~~~~~~~~~~~~~~

One of the most common errors will come from your browser's console, and
will something like this:
will look something like this:

Failed to resolve module specifier " bootstrap". Relative references must start
with either "/", "./", or "../".
Expand Down

0 comments on commit 722f199

Please sign in to comment.