boonei/scaffold

This package is abandoned and no longer maintained. The author suggests using the xqus/clerk package instead.

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 12

Language:CSS

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>