A simple demo for using mermaid with webpack.
yarn install
yarn build:watch
open index.html
A simple demo for using mermaid with webpack
hi guys please i need help i have a Mermaid graph whith nodes, i want to have a js function that load data from json file and didplay it on window dialog when i click on the coresponding node. each node has its proper inforomation in json file. please i need help
Hi, I am having problems with Mermaid and Webpack in my project, so I decided to use this repo as a test.
I cloned the repo and ran the npm build script, which worked without any trouble.
I then modified the build script in the package.config file to more closely match the one I am using in my project. I used "build": "webpack --progress --colors -p"
I then tried to run the build script again, and it did not work.
The error I am getting is
ERROR in index.bundle.js from UglifyJs
Unexpected token: name (v) [index.bundle.js:22759,6]
似乎是不支持 classDiagram。
下面这段 html 代码无法正常显示类图:
<html>
<body>
<div class="mermaid">
classDiagram
class CXX{
+string ip
+ port
}
</div>
<script =src="index.bundle.js charset="utf-8""></script>
</body>
</html>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.