New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility With Laravel Mix? #49
Comments
Hello, This implementation seems to work but weirdly I cannot read icon fonts with it (mdi).
|
let me check on it, and see how i can add the mdi icon fonts thanks for the share |
@codeitlikemiley Did you get this working? @lukadriel7 I get an issue |
I made a package |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
See laravel-mix/laravel-mix#2173 and my comment on discord. If you want my personal opinion: use vue-cli instead. It's better supported, easier to use, and has sane defaults. |
use vuetify-loader in laravel mix like this webpack.config.js
webpack.mix.config
|
trying to use your configuration, but it still give me some problems
when adding rules the js compiles, but im gettin JS errors on site loading |
You can compare your setup with this example project https://github.com/nekosaur/laravel-vuetify |
@nekosaur 's example project is a working example as long as you don't update sass-loader.
After npm install sass-loader@^7.1.0 -D I get following version installed in my package.json "sass-loader": "^7.3.1", and everything works fine again. |
This should be put in the documentation. It just works. |
No need for separate webpack.config.js
|
This comment has been minimized.
This comment has been minimized.
I can't get the VuetifyLoaderPlugin to work, keep getting this error i.c.m. Laravel Mix: I've tried the Vue CLI 3 / Laravel Mix 5. Any ideas? |
@tomcoonen could you provide a small repro?
|
@DRoet I'm going to see if I can reproduce it in some way |
I'm having the same issue without Vue CLI but using Laravel Mix 5 where vuetify-loader 1.4.2 is included as a plugin using
|
What version of vue-loader do you have? |
This comment has been minimized.
This comment has been minimized.
Had the same issue when I updated to 1.4.2. |
After several hours of trying, i've made it working seamlessly. First, don't use 1.4.2, install 1.4.1 by
Notes
for including vue-loader module:
for including vue-loader rule: |
@diorray can you share you package.json file also i didnt manage to it work on my end |
@goldcoders run this command: If still doesnt work, tell us the errors you're getting |
im getting this error
|
Can you share a repo that has a minimimal install of vuetify working with vuetify loader |
@goldcoders you should remove node-sass, run this commmand and build again: |
I tried to do so but I always get this error when using vuetify-loader, it doesn't matter which version I use (I even tried the 1.4.1 instead of the 1.4.3).
PS: I'm using Laravel 5.6 |
After many issues, I solve this on Laravel 8.
|
I been working on this for like a month and kept telling myself i would come back later and fix it. This did the trick. thank you sir. |
actually @filipembcruz, do you happen to have a git i can look at? I am having issues with vuetify overwriting my custom css. Maybe its being loaded first or something. It is loading my variables which is nice. And my css is showing up in in console.log, just being over ridden by vuetify.
For example, this scss is howing up, but is getting over ridden by vuetifies scss
|
I fixed my issue by appending my custom css. like so
|
Hi ived tried many times, using it with laravel mix, but i keep getting error...
I understand this one is build to be used for vue-cli 3, yeah it works with nuxt also
but in case of laravel mix, how can use it on it, hope someone can help me with it thanks
The text was updated successfully, but these errors were encountered: