function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ming MaMing Ma 

SLDS Modals Sample Code Not Working

Hi,
I use the sample code from here
https://www.lightningdesignsystem.com/components/modals/

When trying to save it, I got an error: "Failed to save TestLC2.cmp: null: Source"

It is related to this line
<svg class="slds-button__icon slds-button__icon_large" aria-hidden="true"> <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#close" /> </svg>

Does anyone know how to fix this error?

Thanks

MingUser-added image
Best Answer chosen by Ming Ma
Ming MaMing Ma
I worked this out. This component dosen't support standalone apps.