Im trying to hook up a project to story book and having some problem getting components to be found
Creating a story link this works and im able to see my story
import FooterComponent from '../components/HeaderAndFooter/FooterComponent.vue';
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
export default {
title: 'Footer',
component: FooterComponent,
// More on argTypes: https://storybook.js.org/docs/vue/api/argtypes
argTypes: {
},
};
however what i want to try and do is to reference components as followed
import FooterComponent from '@/components/HeaderAndFooter/FooterComponent.vue';
This is how the rest of the project is set up and assumingly why when loading the footer component with the @ for its nested components it can not find the component.
My understanding is its something in the main.js webpackFinal property I need to set in order to sort out this alias, but not 100% sure what is needed for this.