boonei / scaffold
This package is abandoned and no longer maintained.
The author suggests using the xqus/clerk package instead.
dev-master / 1.0.x-dev
2020-08-31 15:22 UTC
This package is auto-updated.
Last update: 2020-08-31 15:22:06 UTC
README
Run
php artisan vendor:publish --provider="Boonei\Scaffold\ScaffoldServiceProvider" --tag="assets"
In app.js after loading Vue, before initialising Vue app:
require('../boonei/scaffold/js/app');
In the body of your page add:
<script>
window._locale = '{{ app()->getLocale() }}';
window._translations = {!! cache('scaffold.translations') !!};
</script>