Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit 88ee06a

Browse files
author
joselfonseca
committed
cleanup
1 parent 1c1547c commit 88ee06a

File tree

12 files changed

+14
-336
lines changed

12 files changed

+14
-336
lines changed

app/Http/Controllers/Auth/ConfirmPasswordController.php

Lines changed: 0 additions & 39 deletions
This file was deleted.

app/Http/Controllers/Auth/ForgotPasswordController.php

Lines changed: 0 additions & 22 deletions
This file was deleted.

app/Http/Controllers/Auth/LoginController.php

Lines changed: 0 additions & 39 deletions
This file was deleted.

app/Http/Controllers/Auth/RegisterController.php

Lines changed: 0 additions & 72 deletions
This file was deleted.

app/Http/Controllers/Auth/ResetPasswordController.php

Lines changed: 0 additions & 29 deletions
This file was deleted.

app/Http/Controllers/Auth/VerificationController.php

Lines changed: 0 additions & 41 deletions
This file was deleted.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
66
"watch": "npm run development -- --watch",
77
"watch-poll": "npm run watch -- --watch-poll",
8-
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
8+
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --disable-host-check --config=node_modules/laravel-mix/setup/webpack.config.js",
99
"prod": "npm run production",
1010
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
1111
"docs": "aglio -i docs/api/blueprint/apidocs.apib --theme-variables Flatly --theme-template triple -o resources/views/apidocs.blade.php"
1212
},
1313
"devDependencies": {
1414
"axios": "^0.19",
15-
"cross-env": "^5.1",
16-
"laravel-mix": "^4.0.7",
17-
"lodash": "^4.17.13",
18-
"resolve-url-loader": "^2.3.1",
15+
"cross-env": "^7.0",
16+
"laravel-mix": "^5.0.1",
17+
"lodash": "^4.17.19",
18+
"resolve-url-loader": "^3.1.0",
1919
"sass": "^1.15.2",
20-
"sass-loader": "^7.1.0"
20+
"sass-loader": "^8.0.0"
2121
}
22-
}
22+
}

resources/js/app.js

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1 @@
1-
/**
2-
* First we will load all of this project's JavaScript dependencies which
3-
* includes Vue and other libraries. It is a great starting point when
4-
* building robust, powerful web applications using Vue and Laravel.
5-
*/
6-
7-
require('./bootstrap');
8-
9-
window.Vue = require('vue');
10-
11-
/**
12-
* The following block of code may be used to automatically register your
13-
* Vue components. It will recursively scan this directory for the Vue
14-
* components and automatically register them with their "basename".
15-
*
16-
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
17-
*/
18-
19-
// const files = require.context('./', true, /\.vue$/i);
20-
// files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default));
21-
22-
Vue.component('example-component', require('./components/ExampleComponent.vue').default);
23-
24-
/**
25-
* Next, we will create a fresh Vue application instance and attach it to
26-
* the page. Then, you may begin adding components to this application
27-
* or customize the JavaScript scaffolding to fit your unique needs.
28-
*/
29-
30-
const app = new Vue({
31-
el: '#app',
32-
});
1+
require('./bootstrap');

resources/js/bootstrap.js

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
window._ = require('lodash');
22

3-
/**
4-
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
5-
* for JavaScript based Bootstrap features such as modals and tabs. This
6-
* code may be modified to fit the specific needs of your application.
7-
*/
8-
9-
try {
10-
window.Popper = require('popper.js').default;
11-
window.$ = window.jQuery = require('jquery');
12-
13-
require('bootstrap');
14-
} catch (e) {}
15-
163
/**
174
* We'll load the axios HTTP library which allows us to easily issue requests
185
* to our Laravel back-end. This library automatically handles sending the
@@ -23,33 +10,19 @@ window.axios = require('axios');
2310

2411
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
2512

26-
/**
27-
* Next we will register the CSRF Token as a common header with Axios so that
28-
* all outgoing HTTP requests automatically have it attached. This is just
29-
* a simple convenience so we don't have to attach every token manually.
30-
*/
31-
32-
let token = document.head.querySelector('meta[name="csrf-token"]');
33-
34-
if (token) {
35-
window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;
36-
} else {
37-
console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');
38-
}
39-
4013
/**
4114
* Echo exposes an expressive API for subscribing to channels and listening
4215
* for events that are broadcast by Laravel. Echo and event broadcasting
4316
* allows your team to easily build robust real-time web applications.
4417
*/
4518

46-
// import Echo from 'laravel-echo'
19+
// import Echo from 'laravel-echo';
4720

4821
// window.Pusher = require('pusher-js');
4922

5023
// window.Echo = new Echo({
5124
// broadcaster: 'pusher',
5225
// key: process.env.MIX_PUSHER_APP_KEY,
5326
// cluster: process.env.MIX_PUSHER_APP_CLUSTER,
54-
// encrypted: true
55-
// });
27+
// forceTLS: true
28+
// });

resources/js/components/ExampleComponent.vue

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)