docs: fixed the style error of online demo (#6630)
parent
19f0aea965
commit
7270855ce8
|
@ -32,14 +32,15 @@ components: {
|
||||||
});
|
});
|
||||||
</script>`;
|
</script>`;
|
||||||
|
|
||||||
const mainJs = `import { createApp } from "vue";
|
const mainJs = `import { createApp } from 'vue';
|
||||||
import App from "./App.vue";
|
|
||||||
import Antd from 'ant-design-vue';
|
import Antd from 'ant-design-vue';
|
||||||
import 'ant-design-vue/dist/antd.css';
|
import App from './App';
|
||||||
|
import 'ant-design-vue/dist/reset.css';
|
||||||
|
|
||||||
const app = createApp(App).use(Antd);
|
const app = createApp(App);
|
||||||
app.mount("#app");
|
|
||||||
`;
|
app.use(Antd).mount('#app');
|
||||||
|
`
|
||||||
|
|
||||||
function getDeps(code: string) {
|
function getDeps(code: string) {
|
||||||
return (code.match(/from '([^']+)';\n/g) || [])
|
return (code.match(/from '([^']+)';\n/g) || [])
|
||||||
|
|
Loading…
Reference in New Issue