حاولت كثير اعرف شو المشكلة ودورت للاسف ما في اي شي خطأ , ياريت المساعدة , مع العلم نزلت جميع المكتبات والاضافات المطلوبة
حاولت كثير اعرف شو المشكلة ودورت للاسف ما في اي شي خطأ , ياريت المساعدة , مع العلم نزلت جميع المكتبات والاضافات المطلوبة
app.js /** * First we will load all of this project\'s JavaScript dependencies which * includes Vue and other libraries. It is a great starting point when * building robust, powerful web applications using Vue and Laravel. */ var Vue = require(\'vue\'); var VueRouter = require(\'vue-router\'); Vue.use(VueRouter); /** * Next, we will create a fresh Vue application instance and attach it to * the page. Then, you may begin adding components to this application * or customize the JavaScript scaffolding to fit your unique needs. */ var AddServices = require(\'./components/addservices.vue\'); var MyServices = require(\'./components/myservices.vue\'); var App = Vue.extend({}); var route = new VueRouter(); route.map({ \'/\':{ component:AddServices }, \'/AddServices\':{ component:AddServices }, \'/MyServices\':{ component:MyServices } }); route.start(App, \'#app\'); home.blade.php @extends(\'layouts.default\') @section(\'content\') <div class=\"row\"> <div class=\"col-md-8 col-md-offset-2\"> <div class=\"panel panel-default\"> <div class=\"panel-heading\"><i class=\"fa fa-dashboard\"></i> Dashboard</div> <div class=\"panel-body\"> <router-view></router-view> </div> </div> </div> </div> @endsection
Not Comments Here