jeroennoten / Laravel-AdminLTE

Easy AdminLTE integration with Laravel
MIT License
3.84k stars 1.09k forks source link

QUESTION: Integration with vue js #169

Closed sebian29 closed 5 years ago

sebian29 commented 6 years ago

Hi jeroennoten,

Thank you for developing this awesome laravel-admin. Currently, I'm using your template and implementing vue js 2 for SPA. I just wanna know if it's possible to use vue-router on this template? Cause i did implement router-link on menu-item.blade.php but it always print the full url. Do you have an example to do this case?

Thank you so much and sorry for bad english.

ghost commented 6 years ago

I need Intregation too with vue

RatanaKH commented 5 years ago

Hello guy!

It's work for me, you can try it.

import App from './components/App.vue';
import Vue from 'vue';

new Vue({
  el: '#app'
  render: h => h(App)
});

run command: $ npm run dev Or $ npm run watch

And after you just create Route and Controller for view.

I hope it can help you to use Vue js with this package.

resslinger commented 5 years ago

Is the issue actual?

sebian29 commented 5 years ago

Is the issue actual?

@RatanaKH solution works well :)