Skip to content

Commit faa3644

Browse files
fix: lock file maintenance (#47)
1 parent 3980705 commit faa3644

File tree

2 files changed

+328
-376
lines changed

2 files changed

+328
-376
lines changed

src/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
export default {
33
mounted() {
44
if (typeof window !== 'undefined') {
5-
const mermaid = window.mermaid || require('mermaid')
5+
const mermaid = window.mermaid || require('mermaid').default
66
mermaid.parseError = error => this.$emit('parse-error', error)
77
mermaid.initialize({
88
securityLevel: 'loose',

0 commit comments

Comments
 (0)