mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 03:30:25 +00:00
* 🎉 Working example of storybook and vue
* remove the older storybook version
* build storybook after client was built
* move storybook:build to npm-postintall
* remove automatically created eslint-disables + fix comment
* add back needed eslint :P + add @storybook/vue as devDep
* fix packagelock
* fix lint
* auto fixed lints + ignore dist/ node_modules/
* update package-lock.json
* add postbuild and readme
* add back customize config
* fix readme
* fix links in readme
* revert postbuild command
11 lines
318 B
JavaScript
11 lines
318 B
JavaScript
/* eslint-disable import/no-extraneous-dependencies */
|
|
import { configure } from '@storybook/vue';
|
|
import '../../src/assets/scss/index.scss';
|
|
|
|
const req = require.context('../../src', true, /.stories.js$/);
|
|
|
|
function loadStories () {
|
|
req.keys().forEach(filename => req(filename));
|
|
}
|
|
|
|
configure(loadStories, module);
|