mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update developer settings
This commit is contained in:
parent
bb31b54b41
commit
5df3352dbe
4 changed files with 19 additions and 0 deletions
14
resources/assets/js/developers.js
vendored
Normal file
14
resources/assets/js/developers.js
vendored
Normal 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
|
||||||
|
);
|
|
@ -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'
|
||||||
|
|
|
@ -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
3
webpack.mix.js
vendored
|
@ -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')
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue