How to I route at page with vuejs

  • Okey. spqr thanks


    How do I use the $ view code in the Controller file?



    Code
    1. $app['view']['og:type']
    2. example: 'og:type'
  • Social sharing buttons.


    Example: SiteController =>


    post.php =>

    Code
    1. <h1>Post Title: <?= $view['og:title'] ?></h1>
    2. <p><?= $view['og:description'] ?></p>