Skip to content

bug: ion-input not working properly with vite and @ionic/core #30323

Closed
@DeJy

Description

@DeJy

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

Ion-input is not displayed correctly when I'm building my vanilla js project with vite.js. It works with version 7, but not with version 8. sc-ion-input-md is class is missing from the input tag.

Expected Behavior

ion-input should display as ionic component and not standard html.

Steps to Reproduce

  1. see stackblitz.com project

Code Reproduction URL

https://stackblitz.com/edit/sb1-tqcwwalu?file=package.json

Ionic Info

Issue is with all v8 versions

Additional Information

No response

Metadata

Metadata

Labels

stencilIssues that require changes in Stenciltype: buga confirmed bug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions