Update developer settings

This commit is contained in:
Daniel Supernault 2019-04-07 12:15:36 -06:00
parent bb31b54b41
commit 5df3352dbe
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
4 changed files with 19 additions and 0 deletions

14
resources/assets/js/developers.js vendored Normal file
View file

@ -0,0 +1,14 @@
Vue.component(
'passport-clients',
require('./components/passport/Clients.vue').default
);
Vue.component(
'passport-authorized-clients',
require('./components/passport/AuthorizedClients.vue').default
);
Vue.component(
'passport-personal-access-tokens',
require('./components/passport/PersonalAccessTokens.vue').default
);

View file

@ -12,6 +12,7 @@
@endsection @endsection
@push('scripts') @push('scripts')
<script type="text/javascript" src="{{mix('js/developers.js')}}"></script>
<script type="text/javascript"> <script type="text/javascript">
new Vue({ new Vue({
el: '#content' el: '#content'

View file

@ -11,6 +11,7 @@
@endsection @endsection
@push('scripts') @push('scripts')
<script type="text/javascript" src="{{mix('js/developers.js')}}"></script>
<script type="text/javascript"> <script type="text/javascript">
new Vue({ new Vue({
el: '#content' el: '#content'

3
webpack.mix.js vendored
View file

@ -34,6 +34,9 @@ mix.js('resources/assets/js/app.js', 'public/js')
// SearchResults component // SearchResults component
.js('resources/assets/js/search.js', 'public/js') .js('resources/assets/js/search.js', 'public/js')
// Developer Components
.js('resources/assets/js/developers.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css', { .sass('resources/assets/sass/app.scss', 'public/css', {
implementation: require('node-sass') implementation: require('node-sass')
}) })