mjawad096 / laravel-grapesjs

This package provide an esay way to integrate GrapesJS into your laravel proejct.
MIT License
107 stars 54 forks source link

How can i show the page in a specific route? #71

Closed marlon33 closed 1 year ago

marlon33 commented 1 year ago

I wish to know how can i show the page :id in a specific route, like:

https://domain.com/page-tag

ghost commented 1 year ago

@marlon33 you can create a simple route and render a blade file in it and pass the loaded page to that blade file. Copy and paste the below lines into your blade file.

<style type="text/css">
    {!! $page->css !!}
</style>

{!! $page->html !!}