Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE: Publishing views breaks variables #252

Closed
giobi opened this issue Sep 25, 2018 · 3 comments
Closed

ISSUE: Publishing views breaks variables #252

giobi opened this issue Sep 25, 2018 · 3 comments

Comments

@giobi
Copy link

giobi commented Sep 25, 2018

Publishing views gives an error:
ErrorException (E_ERROR) Undefined variable: adminlte

I'm extending the published layout
@extends('vendor.adminlte.page')

On line 99 of page.blade.php while building menu calls a $adminlte var that is not defined in the published view.

I'm publishing to add js scripts to every page (apparently the basic page layout is not including my app.js).

Switching back to vendor layouts meanwhile.

@resslinger
Copy link
Collaborator

Is the issue actual?

@resslinger resslinger changed the title Publishing views breaks variables ISSUE: Publishing views breaks variables Aug 27, 2019
@davidpazo
Copy link

I have the same issue, and i looking for a solution

@resslinger
Copy link
Collaborator

Did you try @extends('adminlte::page')?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants