Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP tradução do tópico Import maps #761 #763

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions pt-BR/working_with_javascript_in_rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ seu JavaScript.

-------------------------------------------------------------------------------

Import maps
Mapas de importação
-----------

[Import maps](https://github.com/rails/importmap-rails) let you import JavaScript modules using
logical names that map to versioned files directly from the browser. Import maps are the default
from Rails 7, allowing anyone to build modern JavaScript applications using most NPM packages
without the need for transpiling or bundling.
[Import maps](https://github.com/rails/importmap-rails) permite importar módulos JavaScript usando nomes lógicos que mapeiam para arquivos versionados diretamente do navegador. Os mapas de importação são o padrão utilizado no Rails 7, permitindo que qualquer pessoa construa aplicativos JavaScript modernos usando a maioria dos pacotes NPM
sem a necessidade de transpilar ou *empacotar (bundling)* seu código.

Applications using import maps do not need [Node.js](https://nodejs.org/en/) or
[Yarn](https://yarnpkg.com/) to function. If you plan to use Rails with `importmap-rails` to
Expand Down