File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
import { App , Plugin } from 'vue' ;
2
- import { CodeBlock } from './plugin' ;
2
+ import { VCodeBlock } from './plugin' ;
3
3
import '@/plugin/styles/cssVariables.css' ;
4
4
import '@/plugin/styles/utilities.scss' ;
5
5
import '@/plugin/styles/main.scss' ;
6
6
import '@/plugin/styles/themeStyles.scss' ;
7
7
8
8
9
9
const install = ( app : App ) => {
10
- app . component ( 'CodeBlock' , CodeBlock ) ;
10
+ app . component ( 'CodeBlock' , VCodeBlock ) ;
11
+ app . component ( 'VCodeBlock' , VCodeBlock ) ;
11
12
} ;
12
13
13
- CodeBlock . install = install ;
14
+ VCodeBlock . install = install ;
14
15
15
- export default CodeBlock as unknown as Plugin ;
16
+ export default VCodeBlock as unknown as Plugin ;
16
17
17
18
export {
18
- CodeBlock
19
+ VCodeBlock
19
20
} ;
Original file line number Diff line number Diff line change 1
- export { default as CodeBlock } from './CodeBlock .vue' ;
1
+ export { default as VCodeBlock } from './VCodeBlock .vue' ;
You can’t perform that action at this time.
0 commit comments