storybook/docs/snippets/vue/component-story-static-asset-cdn.js.mdx
2020-12-23 17:00:49 +00:00

10 lines
193 B
Plaintext

```js
// MyComponent.stories.js
export default {
title: "img",
};
export const withAnImage = () => ({
template: '<img src="https://placehold.it/350x150" alt="My CDN placeholder"/>'
});
```