Hi @leostereo
Haven’t had the opportunity to test this myself but I guess is what you might be needing:
https://vuetifyjs.com/en/features/icon-fonts/#material-icons
Let me know if it works! I’ll try to test it later too!
Hope this helps
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi guys, I have some experience coding with laravel and vuejs but ... have not idea how does library loaders works. Currently im trying to add vuejs + vuetify to my laravel 8 project running with sail script. After reading a lot of tutorials , I got this working doing:
npm install --save vue
npm install vuetify
Then in my resources/js/app.js looks like this:
import Vue from 'vue'
import VueRouter from 'vue-router';
import router from './Router/index'
import store from './Store/index';
import App from './App.vue'
import Vuetify from 'vuetify'
import 'vuetify/dist/vuetify.min.css';
Vue.use(Vuetify);
Vue.use(VueRouter)
const app = new Vue({
el: '#app',
vuetify: new Vuetify(),
router,
store,
components: { App }
});
then , my entry point in laravel view is:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet">
<title>{{env('APP_NAME')}}</title>
</head>
<body>
<div id="app">
<v-app>
<app></app>
</v-app>
</div>
<script src="{{ mix('js/app.js') }}"></script>
</body>
</html>
I got this working , however , in order to have a full vuetify working I must include the:
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet">
line at the laravel entry point view , otherwise It does not work. So , I would like to know: Is there some working example/documentation about installing vue + vuetify to my laravel 8 project running with sail ? (I have been looking without success) How can I modify my project to avoid downloading vuetify from cdn ? I need to install them locally since some users will load it over a vpn without internet access.
Thanks, Leo.
Please or to participate in this conversation.