Skip to content

Commit

Permalink
feat: 更改组件名称
Browse files Browse the repository at this point in the history
  • Loading branch information
songxingguo committed May 23, 2024
1 parent a061dee commit 41d9a51
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export default defineComponent({
setup() {
const code = ref(data);
const extensions = [html(), oneDark];
// Codemirror EditorView instance ref
const view = shallowRef();
const handleReady = (payload) => {
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default defineUserConfig({
indexContent: true,
}),
registerComponentsPlugin({
componentsDir: path.resolve(__dirname, './components/react'),
componentsDir: path.resolve(__dirname, './components'),
componentsPatterns:['**/*.vue'],
// components: {
// VueDemo: path.resolve(__dirname, './components/react/VueDemo.vue'),
Expand Down
2 changes: 1 addition & 1 deletion src/web/frontend/react/demo/React.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ tag:
- 标签
---

<React></React>
<MiniSandbox />

0 comments on commit 41d9a51

Please sign in to comment.