Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix .vue import issue within TS components #7680

Open
cnotv opened this issue Dec 12, 2022 · 2 comments
Open

Fix .vue import issue within TS components #7680

cnotv opened this issue Dec 12, 2022 · 2 comments

Comments

@cnotv
Copy link
Contributor

cnotv commented Dec 12, 2022

Description

Prevent the use of imports with .vue extension.

Context

In an initial investigation, this issue was not appeared during the development, although it does in this case.

To reproduce

Create a new component and import other non TS components, e.g.:

import CruResource from '@shell/components/CruResource';

<script lang="ts">
export default Vue.extend({
  components: {
    CruResource
  },
})
</ script>

Issue can be solved exclusively by adding extension:

import CruResource from '@shell/components/CruResource.vue';
@gaktive
Copy link
Member

gaktive commented Mar 15, 2023

@cnotv to review what's going here and update the ticket.

@nwmac nwmac added kind/tech-debt Technical debt and removed kind/bug labels Mar 31, 2023
@gaktive gaktive added the QA/None label May 8, 2023
@nwmac
Copy link
Member

nwmac commented May 9, 2023

Needs some discussion

@cnotv cnotv modified the milestones: v2.7.next2, v2.7.next4 May 22, 2023
@cnotv cnotv removed their assignment May 24, 2023
@nwmac nwmac modified the milestones: v2.8.0, v2.8.next1 Aug 15, 2023
@nwmac nwmac modified the milestones: v2.9.0, v2.9.x Feb 27, 2024
@gaktive gaktive modified the milestones: v2.9.x, v2.12.0 Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants