Setting the api group middleware on api routes by default.

Loading vuejs script
parent c6a7d905
......@@ -69,6 +69,7 @@ return [
'frontend' => [
],
'api' => [
'api',
],
],
......@@ -124,6 +125,7 @@ return [
'moment.js' => ['theme' => 'vendor/admin-lte/plugins/daterangepicker/moment.min.js'],
'clipboard.js' => ['theme' => 'vendor/clipboard/dist/clipboard.min.js'],
'simplemde.js' => ['theme' => 'vendor/simplemde/dist/simplemde.min.js'],
'vue-app.js' => ['cdn' => mix('js/app.js')],
],
/*
......@@ -160,6 +162,7 @@ return [
'pace.js',
'selectize.js',
'main.js',
'vue-app.js',
],
],
......
......@@ -69,6 +69,7 @@ return [
'frontend' => [
],
'api' => [
'api',
],
],
......@@ -161,8 +162,7 @@ return [
'pace.js',
'selectize.js',
'main.js',
// Un-comment the vue-app dependency to include VueJS
// 'vue-app.js',
'vue-app.js',
],
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment