creativetimofficial / vuetify-material-dashboard

Vuetify Material Dashboard - Open Source Material Design Admin by Creative Tim
https://www.creative-tim.com/product/vuetify-material-dashboard
MIT License
1.32k stars 954 forks source link

Question: laravel-mix #1

Closed ekandreas closed 4 years ago

ekandreas commented 6 years ago

If I would like to use a more standard frontend compiler like laravel-mix (webpack wrapper)? Do you have any directions or tips making the conversion?

dragosct commented 6 years ago

Hi, @ekandreas! Thank you for using our products. Unfortunately, we didn't have any interaction with laravel-mix until now, so we can't give any advice on how to make the conversion, but look here a link and maybe this will help you.

Regards, Dragos

ekandreas commented 6 years ago

Laravel-Mix is decoupled from Laravel. It is a webpack wrapper that I use in WordPress and other projects that need webpack.

But I find your design nice...

Med vänlig hälsning, Andreas Ek, 070-3032203

25 okt. 2018 kl. 09:12 skrev dragosct notifications@github.com:

Hi, @ekandreas! Thank you for using our products. Unfortunately, we didn't have any interaction with laravel-mix until now, so we can't give any advice on how to make the conversion, but look here a link and maybe this will help you.

Regards, Dragos

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

darylphuah commented 5 years ago

Using a clean laravel install, I've tried to add vuetify-material-dashboard/src/main.js to webpack, but it will not compile. I get an error.

TypeError: Cannot read property 'startsWith' of undefined

So I looked at the package.json and added the same dependencies and devDependencies, and will instead get this error:

ERROR in ./<path>/router/index.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Syntax Error: Support for the experimental syntax 'dynamicImport' isn't currently enabled (22:29):

I've tried to add @babel/plugin-syntax-dynamic-import to the package.json with no luck.

wilpat commented 5 years ago

Hi @darylphuah check this post as it might help. https://github.com/JeffreyWay/laravel-mix/issues/1249#issuecomment-335112415

johnleider commented 4 years ago

Closing this issue as it references a very old version of the theme.