Files
vue3/.storybook/preview.ts

26 lines
521 B
TypeScript

/*
* @Author: zhaojinfeng 121016171@qq.com
* @Date: 2023-06-15 13:22:59
* @LastEditors: zhaojinfeng 121016171@qq.com
* @LastEditTime: 2023-08-22 02:29:34
* @FilePath: \vue3\.storybook\preview.ts
* @Description:
*
*/
import type { Preview } from '@storybook/vue3'
import 'uno.css'
const preview: Preview = {
parameters: {
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
},
}
export default preview