Skip to content

Commit

Permalink
feat: 使用独立依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
Otto-J committed Oct 29, 2023
1 parent 54497fc commit a7c834a
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 334 deletions.
149 changes: 0 additions & 149 deletions driver/xLog.mjs

This file was deleted.

175 changes: 0 additions & 175 deletions driver/xLog.ts

This file was deleted.

6 changes: 5 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import components from "unplugin-vue-components/vite";
import autoImport from "unplugin-auto-import/vite";
import { VarletUIResolver } from "unplugin-vue-components/resolvers";
import path from "path";
// import x from 'unstorage-xlog-driver'

export default defineNuxtConfig({
devtools: { enabled: true },
Expand Down Expand Up @@ -45,7 +46,10 @@ export default defineNuxtConfig({
},
sources: {
xLog: {
driver: path.resolve(__dirname, "./driver/xLog.mjs"),
driver: path.resolve(
__dirname,
"node_modules/unstorage-xlog-driver/dist/index.mjs",
),
characterId: 53709,
prefix: "/blogs",
},
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@
"@vueuse/core": "^10.5.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"crossbell": "^1.9.0",
"dayjs": "^1.11.10",
"gray-matter": "^4.0.3",
"html-to-image": "^1.11.11",
"lucide-vue-next": "^0.286.0",
"radix-vue": "^0.4.1",
"sitemap": "^7.1.1",
"tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.7",
"trianglify": "^4.1.1"
"trianglify": "^4.1.1",
"unstorage-xlog-driver": "^0.0.1"
}
}
Loading

0 comments on commit a7c834a

Please sign in to comment.