mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +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 = {
 | 
					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',
 | 
				
			||||||
		Reference in New Issue
	
	Block a user