Comments on "Install Preline UI with React using Tailwind CSS" #462
A-Berton
started this conversation in
Show and tell
Replies: 2 comments
-
Make sure if you are using Dependency Optimisation with Vite (https://vitejs.dev/config/dep-optimization-options), that your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I couldn't make Preline work with my React / Vite & Typescript configuration, the reinitialization helper resulted in a blank page. But this seemed to work for me:
`import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import { BrowserRouter } from 'react-router-dom';
const root = ReactDOM.createRoot(document.getElementById('root')!);
root.render(
<React.StrictMode>
</React.StrictMode>
);`
Beta Was this translation helpful? Give feedback.
All reactions