You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/guide/installation.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,11 +39,11 @@ Para prototipação ou aprendizagem, você pode utilizar a última versão com:
39
39
40
40
Para produção, recomendamos vinculá-lo a uma versão e uma distribuição (_build_) específicas, a fim de evitar incompatibilidade de funcionalidades devido a uma nova versão.
41
41
42
-
## Download and Self Host
42
+
## Baixar e hospedar em seu próprio servidor
43
43
44
-
If you want to avoid using build tools but can't use a CDN in production then you can download the relevant `.js`file and host it using your own web server. You can then include it using a `<script>` tag, just like with the CDN approach.
44
+
Se você não pode usar uma CDN em produção, ou não deseja fazer uso de ferramentas de construção, você pode baixar o arquivo `.js`e hospedá-lo em seu próprio servidor web. Desta forma, você pode então incluí-lo usando uma tag `<script>`, da mesma forma como feito com a abordagem CDN.
45
45
46
-
The files can be browsed and downloaded from a CDN such as [unpkg](https://unpkg.com/browse/vue@next/dist/)or[jsDelivr](https://cdn.jsdelivr.net/npm/vue@next/dist/). The various different files are [explained later](#explanation-of-different-builds) but you would typically want to download both a development build and a production build.
46
+
Os arquivos podem ser encontrados e baixados de uma CDN, como [unpkg](https://unpkg.com/browse/vue@next/dist/)ou[jsDelivr](https://cdn.jsdelivr.net/npm/vue@next/dist/). Os vários arquivos diferentes serão [explicados mais tarde](#esclarecimento-sobre-as-diferentes-distribuicoes), mas normalmente você desejará baixar ambas as versões de desenvolvimento e de produção.
47
47
48
48
## npm
49
49
@@ -54,17 +54,17 @@ O método de instalação através do npm é o que recomendamos ao construir apl
54
54
$ npm install vue@next
55
55
```
56
56
57
-
Vue also provides accompanying tools for authoring [Single File Components](../guide/single-file-component.html) (SFCs). If you want to use SFCs then you'll also need to install`@vue/compiler-sfc`:
57
+
O Vue também fornece ferramentas de acompanhamento para a criação de [Componentes Single-File](../guide/single-file-component.html) (SFCs). Se você quiser usar SFCs, também precisará instalar`@vue/compiler-sfc`:
58
58
59
59
```bash
60
60
$ npm install -D @vue/compiler-sfc
61
61
```
62
62
63
-
If you're coming from Vue 2 then note that `@vue/compiler-sfc`replaces`vue-template-compiler`.
63
+
Se você está vindo do Vue 2, observe que `@vue/compiler-sfc`substitui`vue-template-compiler`.
64
64
65
-
In addition to `@vue/compiler-sfc`, you'll also need a suitable SFC loader or plugin for your chosen bundler. See the [SFC documentation](../guide/single-file-component.html)for more information.
65
+
Além do `@vue/compiler-sfc`, você também precisará de um _loader_ ou plugin SFC adequado para o empacotador escolhido. Consulte a [documentação de SFC](../guide/single-file-component.html)para obter mais informações.
66
66
67
-
In most cases, the preferred way to create a webpack build with minimal configuration is to use Vue CLI.
67
+
Na maioria dos casos, a maneira preferida de criar uma construção com webpack e configuração mínima é usar o Vue CLI.
0 commit comments