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 = {
|
||||
stories: [
|
||||
'../stories/**/*.stories.mdx',
|
||||
'../app/javascript/dashboard/components/ui/stories/**/*.stories.@(js|jsx|ts|tsx)',
|
||||
'../stories/**/*.stories.@(js|jsx|ts|tsx)',
|
||||
'../app/javascript/**/*.stories.@(js|jsx|ts|tsx)',
|
||||
],
|
||||
addons: [
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { action } from '@storybook/addon-actions';
|
||||
import AddNote from '../../app/javascript/dashboard/routes/dashboard/contacts/components/AddNote';
|
||||
import AddNote from './AddNote.vue';
|
||||
|
||||
export default {
|
||||
title: 'Components/Notes/Add',
|
|
@ -1,5 +1,5 @@
|
|||
import { action } from '@storybook/addon-actions';
|
||||
import ContactNote from '../../app/javascript/dashboard/routes/dashboard/contacts/components/ContactNote';
|
||||
import ContactNote from './ContactNote.vue';
|
||||
|
||||
export default {
|
||||
title: 'Components/Notes/Note',
|
Loading…
Reference in a new issue