Commit 85436ef5 authored by 张媛's avatar 张媛

支持ts

parent e6edf48e
import { configure } from '@storybook/react';
function loadStories() {
require('../src/stories/index.js'); // 指定 story 的位置
require('../src/stories/index.tsx'); // 指定 story 的位置
// 可以是任意目录,根据自己需要写路径
}
configure(loadStories, module);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment