mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 18:41:06 +08:00
Addon-docs: Process framework configs in babel
This commit is contained in:
parent
f72bca8f16
commit
690b490227
8
addons/docs/angular/config.js
vendored
8
addons/docs/angular/config.js
vendored
@ -1,7 +1 @@
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
const { addParameters } = require('@storybook/angular');
|
||||
const { DocsPage } = require('@storybook/addon-docs/blocks');
|
||||
|
||||
addParameters({
|
||||
docs: DocsPage,
|
||||
});
|
||||
module.exports = require('../dist/frameworks/angular/config');
|
||||
|
@ -1,7 +1 @@
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
const { addParameters } = require('@storybook/html');
|
||||
const { DocsPage } = require('@storybook/addon-docs/blocks');
|
||||
|
||||
addParameters({
|
||||
docs: DocsPage,
|
||||
});
|
||||
module.exports = require('../dist/frameworks/html/config');
|
||||
|
@ -1,7 +1 @@
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
const { addParameters } = require('@storybook/react');
|
||||
const { DocsPage } = require('@storybook/addon-docs/blocks');
|
||||
|
||||
addParameters({
|
||||
docs: DocsPage,
|
||||
});
|
||||
module.exports = require('../dist/frameworks/react/config');
|
||||
|
7
addons/docs/src/frameworks/angular/config.js
vendored
Normal file
7
addons/docs/src/frameworks/angular/config.js
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
import { addParameters } from '@storybook/angular';
|
||||
import { DocsPage } from '@storybook/addon-docs/blocks';
|
||||
|
||||
addParameters({
|
||||
docs: DocsPage,
|
||||
});
|
7
addons/docs/src/frameworks/html/config.js
Normal file
7
addons/docs/src/frameworks/html/config.js
Normal file
@ -0,0 +1,7 @@
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
import { addParameters } from '@storybook/html';
|
||||
import { DocsPage } from '@storybook/addon-docs/blocks';
|
||||
|
||||
addParameters({
|
||||
docs: DocsPage,
|
||||
});
|
7
addons/docs/src/frameworks/react/config.js
Normal file
7
addons/docs/src/frameworks/react/config.js
Normal file
@ -0,0 +1,7 @@
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
import { addParameters } from '@storybook/react';
|
||||
import { DocsPage } from '@storybook/addon-docs/blocks';
|
||||
|
||||
addParameters({
|
||||
docs: DocsPage,
|
||||
});
|
7
addons/docs/src/frameworks/vue/config.js
Normal file
7
addons/docs/src/frameworks/vue/config.js
Normal file
@ -0,0 +1,7 @@
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
import { addParameters } from '@storybook/vue';
|
||||
import { DocsPage } from '@storybook/addon-docs/blocks';
|
||||
|
||||
addParameters({
|
||||
docs: DocsPage,
|
||||
});
|
@ -1,7 +1 @@
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
const { addParameters } = require('@storybook/vue');
|
||||
const { DocsPage } = require('@storybook/addon-docs/blocks');
|
||||
|
||||
addParameters({
|
||||
docs: DocsPage,
|
||||
});
|
||||
module.exports = require('../dist/frameworks/vue/config');
|
||||
|
Loading…
x
Reference in New Issue
Block a user