mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 11:08:00 +08:00
docs: remove app.config.productionTip (#5084)
This commit is contained in:
parent
30bbd4c3b4
commit
620214d536
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user