Skip to content

Commit b25975d

Browse files
Update vue-code-block
1 parent a39d6cd commit b25975d

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
"@vue/cli-service": "^5.0.8",
9292
"@vue/compiler-sfc": "^3.3.8",
9393
"@vue/eslint-config-typescript": "^12.0.0",
94+
"@wdns/vue-code-block": "^2.2.15",
9495
"autoprefixer": "^10.4.16",
9596
"eslint": "^8.53.0",
9697
"eslint-config-prettier": "^9.0.0",
@@ -129,7 +130,6 @@
129130
"vite-plugin-stylelint": "^5.2.0",
130131
"vite-plugin-vuetify": "^1.0.2",
131132
"vue-tsc": "^1.8.22",
132-
"vue3-code-block": "^2.2.12",
133133
"webfontloader": "^1.6.28"
134134
}
135135
}

pnpm-lock.yaml

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import '@/libraries/fontawesome';
22
import App from './App.vue';
3-
import CodeBlock from 'vue3-code-block';
3+
import CodeBlock from '@wdns/vue-code-block';
44
import { createApp } from 'vue';
55
import { createPinia } from 'pinia';
66
import { registerPlugins } from './plugins';
@@ -11,7 +11,7 @@ import { makeServer } from './server';
1111
makeServer({ environment: 'demo' });
1212

1313
const app = createApp(App);
14-
app.use(CodeBlock);
14+
app.component('CodeBlock', CodeBlock);
1515
app.use(createPinia());
1616
app.component('font-awesome-icon', FontAwesomeIcon);
1717
app.component('FaIcon', FontAwesomeIcon);

0 commit comments

Comments
 (0)