docs: remove app.config.productionTip (#5084)

This commit is contained in:
Palm Civet 2021-12-27 22:21:36 +08:00 committed by GitHub
parent 30bbd4c3b4
commit 620214d536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 7 deletions

View File

@ -47,7 +47,6 @@ import App from './App';
import 'ant-design-vue/dist/antd.css';
const app = createApp();
app.config.productionTip = false;
app.use(Antd);
```
@ -62,7 +61,6 @@ import { Button, message } from 'ant-design-vue';
import App from './App';
const app = createApp(App);
app.config.productionTip = false;
/* Automatically register components under Button, such as Button.Group */
app.use(Button).mount('#app');

View File

@ -49,7 +49,6 @@ import App from './App';
import 'ant-design-vue/dist/antd.css';
const app = createApp();
app.config.productionTip = false;
app.use(Antd);
```
@ -64,7 +63,6 @@ import { Button, message } from 'ant-design-vue';
import App from './App';
const app = createApp(App);
app.config.productionTip = false;
/* 会自动注册 Button 下的子组件, 例如 Button.Group */
app.use(Button).mount('#app');

View File

@ -153,7 +153,7 @@ Remove the `import 'ant-design-vue/dist/antd.css';` statement added before becau
Vue.component(Button.name, Button)
Vue.config.productionTip = false
- Vue.config.productionTip = false
new Vue({
render: h => h(App)

View File

@ -67,7 +67,6 @@ import 'ant-design-vue/dist/antd.css';
import App from './App';
const app = createApp(App);
app.config.productionTip = false;
/* 会自动注册 Button 下的子组件, 例如 Button.Group */
app.use(Button).mount('#app');
@ -153,7 +152,7 @@ $ yarn add babel-plugin-import --dev
Vue.component(Button.name, Button)
Vue.config.productionTip = false
- Vue.config.productionTip = false
new Vue({
render: h => h(App)