Are you a Vue developer struggling with the `Uncaught TypeError: Cannot read properties of null (reading 'ce')` error? A recent solution has been found! According to dev.to, the issue arises when importing packaged components from a parent project into a Vue project. The fix lies in defining Vue as a peerDependency in the package's JSON file and excluding Vue code from the bundled output. Simply add a rollupOptions block to your vite.config.ts file, following official tutorials.
Source: https://dev.to/relliv/vue-vite-and-uncaught-typeerror-cannot-read-properties-of-null-reading-ce-16g1