storybook/docs/snippets/common/storybook-server-options.ts.mdx

11 lines
237 B
Plaintext

```ts
// vue/src/server/options.ts
import { sync } from 'read-pkg-up';
export default {
packageJson: sync({ cwd: __dirname }).packageJson,
framework: 'vue',
frameworkPresets: [require.resolve('./framework-preset-vue.js')],
};
```