Skip to content

Commit 6073819

Browse files
Merge pull request #40 from webdevnerdstuff/dev
v2.3.1
2 parents c7ee3b4 + 0ab3e42 commit 6073819

File tree

6 files changed

+16
-7
lines changed

6 files changed

+16
-7
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Change Log
22
All notable changes to the "vue-code-block" plugin will be documented in this file.
33

4+
## v2.3.1
5+
12-02-2023
6+
[main] (@webdevnerdstuff)
7+
* Add default export
8+
49
## v2.3.0
510
12-02-2023
611
[main] (@webdevnerdstuff)

dist/plugin/index.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ import type { Props } from './types';
33
import VCodeBlock from './VCodeBlock.vue';
44
export declare const codeBlockOptions: unique symbol;
55
export declare function createVCodeBlock(options?: Props): (app: App) => void;
6+
export default VCodeBlock;
67
export { VCodeBlock, };

dist/vue-code-block.cjs.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-code-block.es.js

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wdns/vue-code-block",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "Vue 3 CodeBlock - Highlight your code with ease using this syntax highlighting component powered by PrismJS or Highlight.js.",
55
"private": false,
66
"publishConfig": {

src/plugin/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export function createVCodeBlock(options: Props = {}) {
1717
};
1818
}
1919

20+
export default VCodeBlock;
21+
2022
export {
2123
VCodeBlock,
2224
};

0 commit comments

Comments
 (0)