import { Preview, setup } from "@storybook/vue3";
import "../tailwind.css";
import { withVueRouter } from "./mockRouter";

setup((app) => {
  withVueRouter(app);
});

const preview: Preview = {
  parameters: {
    actions: { argTypesRegex: "^on[A-Z].*" },
    controls: {
      matchers: {
        color: /(background|color)$/i,
        date: /Date$/,
      },
    },
  },
};

export default preview;
