storybook/docs/snippets/vue/component-story-static-asset-cdn.js.mdx
2021-04-17 14:25:08 +02:00

11 lines
195 B
Plaintext

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