mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 14:29:25 +02:00
test: Add second icon pack
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
service s3(logos:aws-s3)[Cloud Store]
|
service s3(logos:aws-s3)[Cloud Store]
|
||||||
service ec2(logos:aws-ec2)[Server]
|
service ec2(logos:aws-ec2)[Server]
|
||||||
service api(logos:aws-api-gateway)[Api Gateway]
|
service api(logos:aws-api-gateway)[Api Gateway]
|
||||||
|
service fa(fa:image)[Font Awesome Icon]
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
@@ -34,6 +35,13 @@
|
|||||||
loader: () =>
|
loader: () =>
|
||||||
fetch('https://unpkg.com/@iconify-json/logos/icons.json').then((res) => res.json()),
|
fetch('https://unpkg.com/@iconify-json/logos/icons.json').then((res) => res.json()),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'fa',
|
||||||
|
loader: () =>
|
||||||
|
fetch('https://unpkg.com/@iconify-json/fa6-regular/icons.json').then((res) =>
|
||||||
|
res.json()
|
||||||
|
),
|
||||||
|
},
|
||||||
]);
|
]);
|
||||||
await mermaid.run();
|
await mermaid.run();
|
||||||
if (window.Cypress) {
|
if (window.Cypress) {
|
||||||
|
Reference in New Issue
Block a user