Skip to content

Commit

Permalink
feat: 新增 useVue
Browse files Browse the repository at this point in the history
  • Loading branch information
songxingguo committed May 21, 2024
1 parent 4ebf64b commit 65e98f4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 71 deletions.
43 changes: 0 additions & 43 deletions src/.vuepress/components/react/ReactDemo.vue

This file was deleted.

6 changes: 6 additions & 0 deletions src/.vuepress/hooks/useVue.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import axios from "axios";

export default async function (path) {
const { data } = await axios.get(path);
return { data };
}
15 changes: 0 additions & 15 deletions src/.vuepress/public/demo/react/ReactDemo.jsx

This file was deleted.

13 changes: 0 additions & 13 deletions src/web/frontend/react/demo/Demo.md

This file was deleted.

0 comments on commit 65e98f4

Please sign in to comment.