bluewave-labs / bluewave-onboarding

https://bluewavelabs.ca
GNU Affero General Public License v3.0
30 stars 24 forks source link

Configure path aliases in frontend #326

Closed erenfn closed 4 weeks ago

erenfn commented 1 month ago
// vite.config.js or similar
{
  resolve: {
    alias: {
      '@components': '/src/components'
    }
  }
}

from import ColorTextField from '../../../../components/ColorTextField/ColorTextField'; to import ColorTextField from '@components/ColorTextField/ColorTextField';

aryanp-86 commented 1 month ago

Hello @erenfn , I would like to work on this issue.

erenfn commented 1 month ago

Sure, I'll assign it to you

aryanp-86 commented 1 month ago

@erenfn I have raised a PR with the changes. Will you please review it once. Thanks.