Configure Vue & Vuex


At VaahCms/Modules/Articles/Http/Controllers/Backend/BackendController.php file you will find index method and update articles::backend.pages.index change in to articles::backend.pages.app which will display the view from VaahCms/Modules/Articles/Resources/views/backend/pages/app.blade.php .

copy

Now, you also need to install the Vue.js dependencies at VaahCms/Modules/Articles from npm using the following command:

npm install

You should have node and npm installed in your system. You can use the following NPM command to track the changes in your application and compile the components and other required files.

npm run watch-poll

In this app, all the necessary Vue Js component found at the VaahCms/Modules/Articles/Vue.

Let check the Vue/layouts/Backend.vue

copy