diff --git a/components/mermaid.vue b/components/mermaid.vue
new file mode 100644
index 0000000..60935c3
--- /dev/null
+++ b/components/mermaid.vue
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/content/en/mermaid example.md b/content/en/mermaid example.md
new file mode 100644
index 0000000..a090bf1
--- /dev/null
+++ b/content/en/mermaid example.md
@@ -0,0 +1,20 @@
+---
+title: mermaid-example
+description: ''
+position: 1
+category: ''
+---
+
+
+ sequenceDiagram
+ participant Alice
+ participant Bob
+ Alice->>John: Hello John, how are you?
+ loop Healthcheck
+ John->>John: Fight against hypochondria
+ end
+ Note right of John: Rational thoughts
prevail!
+ John-->>Alice: Great!
+ John->>Bob: How about you?
+ Bob-->>John: Jolly good!
+
\ No newline at end of file
diff --git a/nuxt.config.js b/nuxt.config.js
index 1c97c51..8c9c3f1 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -1,7 +1,21 @@
import theme from '@nuxt/content-theme-docs'
export default theme({
+ server: {
+ host: '0.0.0.0',
+ posrt: 3000
+ },
+
+ colorMode: {
+ preference: 'dark',
+ fallback: 'dark',
+ },
+
docs: {
- primaryColor: '#E24F55'
- }
+ primaryColor: '#00cd81'
+ },
+
+ content: {
+
+ },
})
diff --git a/package.json b/package.json
index 2048989..b6fb300 100644
--- a/package.json
+++ b/package.json
@@ -1,15 +1,16 @@
{
- "name": "doc-init",
- "version": "1.0.0",
- "private": true,
- "scripts": {
- "dev": "nuxt",
- "build": "nuxt build",
- "start": "nuxt start",
- "generate": "nuxt generate"
- },
- "dependencies": {
- "@nuxt/content-theme-docs": "^0.11.0",
- "nuxt": "^2.15.8"
- }
+ "name": "doc-init",
+ "version": "1.0.0",
+ "private": true,
+ "scripts": {
+ "dev": "nuxt",
+ "build": "nuxt build",
+ "start": "nuxt start",
+ "generate": "nuxt generate"
+ },
+ "dependencies": {
+ "@nuxt/content-theme-docs": "^0.11.0",
+ "mermaid": "^8.14.0",
+ "nuxt": "^2.15.8"
+ }
}