mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 18:22:53 +00:00
fix: Change storybook relative path (#2199)
* fix the storybook realtive path issue * move stories to realtive to compoent
This commit is contained in:
@@ -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',
|
||||
Reference in New Issue
Block a user