Topic: Fire up MDB Vue and Vite(Vue)
Lockemann priority asked 2 years ago
Expected behavior
I’m starting a new project. I consider myself intermediate/advanced in vue, intermediate in mdb plain vanilla.
My aim is to start a new project in Vite (Cli alternative for Vue3) together with MDB Vue. I had a look to the setup (video tutorial) for both systems, but I have trouble merging them together. Or I install the Vite package or I install the MDBvue package. I’d appreciate a hint.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Vue
- MDB Version: MDB5 1.9.0
- Device: macbook pro
- Browser: firefox 97.0.1
- OS: osx 12.2.1
- Provided sample code: No
- Provided link: No
Mikołaj Smoleński staff commented 2 years ago
Here's the tutorial: https://mdbootstrap.com/docs/b5/vue/getting-started/installation/#section-vite
Keep coding, Mikołaj from MDB
Lockemann priority commented 2 years ago
I Used this install that obviously did not work https://mdbootstrap.com/docs/vue/getting-started/installation/#basic
The Vite install you suggest seems to work, but unfortunately I do not get sass support. All assets are allready compiled
Mikołaj Smoleński staff commented 2 years ago
To work with sass/scss you will need to copy scss source files to your project from ZIP or from
node_modules
. Also you sent the link to old MDB4 Vue package installation guide wich is not integrated with Vite.Keep coding, Mikołaj from MDB