docs: update vue-cli of en-US, syncing with zh-CN (#1799)
parent
ff995a744e
commit
2beccb5db7
|
@ -70,12 +70,9 @@ Vue.component(Button.name, Button);
|
||||||
|
|
||||||
Vue.config.productionTip = false;
|
Vue.config.productionTip = false;
|
||||||
|
|
||||||
/* eslint-disable no-new */
|
|
||||||
new Vue({
|
new Vue({
|
||||||
el: '#app',
|
render: h => h(App),
|
||||||
components: { App },
|
}).$mount('#app');
|
||||||
template: '<App/>',
|
|
||||||
});
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Modify `src/App.vue`。
|
Modify `src/App.vue`。
|
||||||
|
@ -161,12 +158,9 @@ Remove the `import 'ant-design-vue/dist/antd.css';` statement added before becau
|
||||||
|
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
|
|
||||||
/* eslint-disable no-new */
|
|
||||||
new Vue({
|
new Vue({
|
||||||
el: '#app',
|
render: h => h(App)
|
||||||
components: { App },
|
}).$mount('#app')
|
||||||
template: '<App/>'
|
|
||||||
})
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Then reboot with `npm run dev` and visit the demo page, you should not find any [warning messages](https://zos.alipayobjects.com/rmsportal/vgcHJRVZFmPjAawwVoXK.png) in the console, which prove that the `import on demand` config is working now. You will find more info about it in [this guide](/docs/vue/getting-started/#Import-on-Demand).
|
Then reboot with `npm run dev` and visit the demo page, you should not find any [warning messages](https://zos.alipayobjects.com/rmsportal/vgcHJRVZFmPjAawwVoXK.png) in the console, which prove that the `import on demand` config is working now. You will find more info about it in [this guide](/docs/vue/getting-started/#Import-on-Demand).
|
||||||
|
|
Loading…
Reference in New Issue