Laravel
@hypernova('Example', [ 'title' => 'Ara Framework'])
An open API service indexing awesome lists of open source software.
Blade directive for Nova Proxy
https://github.com/ara-framework/hypernova-blade-directive
blade-template hypernova
Last synced: 4 days ago
JSON representation
Blade directive for Nova Proxy
# Hypernova Blade Directive
## Setup
Install Nova Directive for Laravel Blade using Composer inside the project folder.```shell
composer require marconi1992/hypernova-blade-directive
```Add `NovaServiceProvider` in application config `config/app.php`
```php
return [
...
'providers': [
...
Illuminate\View\ViewServiceProvider::class,
/*
* Package Service Providers...
*/
Marconi\Nova\NovaServiceProvider::class,
/*
* Application Service Providers...
*/
App\Providers\AppServiceProvider::class,
...
]
...
]```
## Use Nova Directive in a Laravel view
Add the `Example` view on the welcome page.
`resources/views/welcome.blade.php`
```html
...
...
Laravel
@hypernova('Example', [ 'title' => 'Ara Framework'])
...
```