Closed
Description
Prequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
Current Behavior
Vite, Rollup, and ESBuild — oh my!
As an added bonus, Framework v6 will be usable with tooling such as Vite, Rollup, and ESBuild, giving you even more options for building apps. This is something that developers have been asking us about for a while, so we are excited to roll this support out.
Tried following the project upgrade directions for using with react. Started a new project using vite. Added IonApp
to project and the application crashed.
Code does not run, error message attached below
Expected Behavior
code to run without error
Steps to Reproduce
import React from "react";
import "./App.css";
import { IonApp } from "@ionic/react";
function App() {
return (
<IonApp>
<p>Hello Vite + React!</p>
</IonApp>
);
}
export default App;
Code Reproduction URL
No response
Ionic Info
No response