boonei / scaffold
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 12
Language:CSS
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>