-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mermaid-loader #361
Comments
Latest version of mermaid has no problem working with webpack, please try again. Wroking Example: https://github.com/tylingsoft/markdown-core/blob/master/webpack.config.js Please note that, the following configurations are required:
In your source code, you can reference mermaid like below: import 'mermaid'
import 'mermaid/dist/mermaid.css' |
Please also check mermaid-webpack-demo. |
@questsin : Where you able to do splunk visuals with mermaid? I am highly interested to do the same! |
Skip beta deploy
I'm building a splunk visual and trying to use mermaid for sequence diagrams. splunk uses npm, node.js, webpack.
I think the error is related due to the way mermaid is handling its markdawn like syntax.
tried
"npm run build" got the below error.
ERROR in ./~/mermaid/package.json
Module parse failed: /Applications/Splunk/etc/apps/junk_app/appserver/static/visualizations/junk/node_modules/mermaid/package.json Unexpected token (2:9)
You may need an appropriate loader to handle this file type.
The text was updated successfully, but these errors were encountered: