mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-05-05 19:39:11 -05:00
@@ -1,25 +0,0 @@
|
||||
<template>
|
||||
<p class="bit-sponsor">
|
||||
<a href="https://bit.dev/?utm_source=vue&utm_medium=vue&utm_campaign=vue&utm_term=vue&utm_content=vue" target="_blank">
|
||||
<span>This project is sponsored by</span>
|
||||
<img alt="bit" src="/bit-wide.png">
|
||||
</a>
|
||||
</p>
|
||||
</template>
|
||||
|
||||
<style lang="stylus">
|
||||
.bit-sponsor
|
||||
font-weight 600
|
||||
background-color #f3f6f8
|
||||
padding 0.6em 1.2em
|
||||
border-radius 8px
|
||||
display inline-block
|
||||
margin 1em 0 !important
|
||||
a
|
||||
color #999
|
||||
img
|
||||
height 40px
|
||||
margin-left 15px
|
||||
img, span
|
||||
vertical-align middle
|
||||
</style>
|
||||
@@ -6,10 +6,6 @@ actionLink: /guide/
|
||||
footer: MIT Licensed | Copyright © 2018-present Evan You
|
||||
---
|
||||
|
||||
<div style="text-align: center">
|
||||
<Bit/>
|
||||
</div>
|
||||
|
||||
<div class="features">
|
||||
<div class="feature">
|
||||
<h2>Feature Rich</h2>
|
||||
|
||||
@@ -4,8 +4,6 @@ sidebar: auto
|
||||
|
||||
# Configuration Reference
|
||||
|
||||
<Bit/>
|
||||
|
||||
## Global CLI Config
|
||||
|
||||
Some global configurations for `@vue/cli`, such as your preferred package manager and your locally saved presets, are stored in a JSON file named `.vuerc` in your home directory. You can edit this file directly with your editor of choice to change the saved options.
|
||||
@@ -276,7 +274,7 @@ In v3 this means the opposite of `css.requireModuleExtension`.
|
||||
When building as a library, you can also set this to `false` to avoid your users having to import the CSS themselves.
|
||||
|
||||
Extracting CSS is disabled by default in development mode since it is incompatible with CSS hot reloading. However, you can still enforce extraction in all cases by explicitly setting the value to `true`.
|
||||
|
||||
|
||||
Instead of a `true`, you can also pass an object of options for the [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) if you want to further configure what this plugin does exactly.
|
||||
|
||||
### css.sourceMap
|
||||
|
||||
@@ -4,8 +4,6 @@ sidebarDepth: 0
|
||||
|
||||
# Overview
|
||||
|
||||
<Bit/>
|
||||
|
||||
::: warning
|
||||
This documentation is for `@vue/cli`. For the old `vue-cli`, see [here](https://github.com/vuejs/vue-cli/tree/v2#vue-cli--).
|
||||
:::
|
||||
|
||||
@@ -6,10 +6,6 @@ actionLink: /ru/guide/
|
||||
footer: MIT Licensed | Copyright © 2018-present Evan You
|
||||
---
|
||||
|
||||
<div style="text-align: center">
|
||||
<Bit/>
|
||||
</div>
|
||||
|
||||
<div class="features">
|
||||
<div class="feature">
|
||||
<h2>Богатые возможности</h2>
|
||||
|
||||
@@ -4,8 +4,6 @@ sidebar: auto
|
||||
|
||||
# Конфигурация
|
||||
|
||||
<Bit/>
|
||||
|
||||
## Глобальная конфигурация CLI
|
||||
|
||||
Некоторые глобальные настройки для `@vue/cli`, такие как предпочитаемый менеджер пакетов и ваши локальные пресеты настроек, сохранены в JSON-файле `.vuerc` в вашем домашнем каталоге. Вы можете использовать любой редактор для изменения этих настроек.
|
||||
|
||||
@@ -4,8 +4,6 @@ sidebarDepth: 0
|
||||
|
||||
# Введение
|
||||
|
||||
<Bit/>
|
||||
|
||||
::: warning Предупреждение
|
||||
Эта документация для `@vue/cli`. Для старой версии `vue-cli`, см. [здесь](https://github.com/vuejs/vue-cli/tree/v2#vue-cli--).
|
||||
:::
|
||||
|
||||
@@ -4,8 +4,6 @@ sidebarDepth: 0
|
||||
|
||||
# 介绍
|
||||
|
||||
<Bit/>
|
||||
|
||||
::: warning 警告
|
||||
这份文档是对应 `@vue/cli`。老版本的 `vue-cli` 文档请移步[这里](https://github.com/vuejs/vue-cli/tree/v2#vue-cli--)。
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user