Socket
Socket
Sign inDemoInstall

vue-mermaid

Package Overview
Dependencies
50
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.10 to 0.0.11

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # vue-mermaid Change Log

### 0.0.11
- Upgrade mermaid version
- Fix default config issues
### 0.0.10
- Add exception catch of parse
### 0.0.9

@@ -7,0 +16,0 @@

4

package.json
{
"name": "vue-mermaid",
"description": "flowchart of mermaid with vue componet",
"version": "0.0.10",
"version": "0.0.11",
"main": "dist/vue-mermaid.js",

@@ -29,3 +29,3 @@ "author": "mark_tun <yuguang.liu@foxmail.com>",

"dependencies": {
"mermaid": "^8.0.0"
"mermaid": "^8.4.4"
},

@@ -32,0 +32,0 @@ "devDependencies": {

@@ -111,2 +111,28 @@ # vue-mermaid

### Theme
- To change theme, you can pass in a config object, for available themes, you can refer to [mermaidjs themes](https://github.com/mermaid-js/mermaid/tree/master/src/themes)
```vue
<template>
<vue-mermaid
type="graph LR"
:config="config"
></vue-mermaid>
</template>
```
```js
export default {
data: function() {
return {
config: {
theme: 'neutral'
}
};
}
};
```
## Build Setup

@@ -113,0 +139,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc