fix: Change storybook relative path (#2199)
* fix the storybook realtive path issue * move stories to realtive to compoent
This commit is contained in:
parent
6a7b98b345
commit
b649516fbb
3 changed files with 3 additions and 4 deletions
|
@ -8,8 +8,7 @@ const custom = require('../config/webpack/environment');
|
||||||
module.exports = {
|
module.exports = {
|
||||||
stories: [
|
stories: [
|
||||||
'../stories/**/*.stories.mdx',
|
'../stories/**/*.stories.mdx',
|
||||||
'../app/javascript/dashboard/components/ui/stories/**/*.stories.@(js|jsx|ts|tsx)',
|
'../app/javascript/**/*.stories.@(js|jsx|ts|tsx)',
|
||||||
'../stories/**/*.stories.@(js|jsx|ts|tsx)',
|
|
||||||
],
|
],
|
||||||
addons: [
|
addons: [
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { action } from '@storybook/addon-actions';
|
import { action } from '@storybook/addon-actions';
|
||||||
import AddNote from '../../app/javascript/dashboard/routes/dashboard/contacts/components/AddNote';
|
import AddNote from './AddNote.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
title: 'Components/Notes/Add',
|
title: 'Components/Notes/Add',
|
|
@ -1,5 +1,5 @@
|
||||||
import { action } from '@storybook/addon-actions';
|
import { action } from '@storybook/addon-actions';
|
||||||
import ContactNote from '../../app/javascript/dashboard/routes/dashboard/contacts/components/ContactNote';
|
import ContactNote from './ContactNote.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
title: 'Components/Notes/Note',
|
title: 'Components/Notes/Note',
|
Loading…
Reference in a new issue