mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 14:59:53 +02:00
fix: live editor exists error
This commit is contained in:
@@ -8,11 +8,14 @@ pushd packages/mermaid
|
||||
npm link
|
||||
popd
|
||||
|
||||
# Clone the Mermaid Live Editor repository
|
||||
git clone https://github.com/mermaid-js/mermaid-live-editor.git
|
||||
|
||||
# Change to the repository directory
|
||||
# Clone or update the Mermaid Live Editor repository
|
||||
if [ ! -d "mermaid-live-editor" ]; then
|
||||
git clone --single-branch https://github.com/mermaid-js/mermaid-live-editor.git
|
||||
cd mermaid-live-editor
|
||||
else
|
||||
cd mermaid-live-editor
|
||||
git pull
|
||||
fi
|
||||
|
||||
# Link local mermaid to live editor
|
||||
npm link mermaid
|
||||
|
Reference in New Issue
Block a user