Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ const config: StorybookConfig = {
name: '@storybook/angular',
options: {},
},
features: {
sidebarOnboardingChecklist: false,
},
docs: {},
webpackFinal: async config => {
config.module?.rules?.push({
test: /\.md$/,
resourceQuery: /raw/,
type: 'asset/source',
});
Comment thread
fengtianze marked this conversation as resolved.

return config;
},
};
export default config;
5 changes: 5 additions & 0 deletions .storybook/typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ declare module '*.md' {
const content: string;
export default content;
}

declare module '*.md?raw' {
const content: string;
export default content;
}
Loading
Loading