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-8Lines changed: 7 additions & 8 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 um CDN em produção, ou não deseja fazer uso de ferramentas de contrução, você pode baixar o arquivo `.js`e hospeda-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 um 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](#explanation-of-different-builds), mas normalmente você vai querer baixar uma compilação de desenvolvimento e uma compilação de produção.
47
47
48
48
## npm
49
49
@@ -53,18 +53,17 @@ O método de instalação através do npm é o que recomendamos ao construir apl
53
53
# última versão estável
54
54
$ npm install vue@next
55
55
```
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`:
56
+
O Vue também fornece ferramentas de acompanhamento para a criação de [Componentes de arquivo único](../guide/single-file-component.html) (SFCs). Se você quiser usar SFCs, também precisará instalar `@vue/compiler-sfc`:
58
57
59
58
```bash
60
59
$ npm install -D @vue/compiler-sfc
61
60
```
62
61
63
-
If you're coming from Vue 2 then note that `@vue/compiler-sfc`replaces`vue-template-compiler`.
62
+
Se você está vindo do Vue 2, observe que `@vue/compiler-sfc`substitui`vue-template-compiler`.
64
63
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.
64
+
Além do `@vue/compiler-sfc`, você também precisará de um carregador SFC ou plugin adequado para o empacotador escolhido. Consulte a [documentação SFC](../guide/single-file-component.html)para obter mais informações.
66
65
67
-
In most cases, the preferred way to create a webpack build with minimal configuration is to use Vue CLI.
66
+
Na maioria dos casos, a maneira preferida de criar um webpack com configuração mínima é usar o Vue CLI.
0 commit comments