Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ara-framework/hypernova-blade-directive

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

Awesome Lists containing this project

README

        

# 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'])



...

```