renatomarinho / laravel-page-speed

Package to optimize your site automatically which results in a 35%+ optimization
MIT License
2.42k stars 279 forks source link

When the script is written in the blade file, it gives me an error. #136

Closed lasamarndi closed 3 years ago

lasamarndi commented 4 years ago

Detailed description

Provide a detailed description of the change or addition you are proposing.

Make it clear if the issue is a bug, an enhancement or just a question.

Context

Why is this change important to you? How would you use it?

How can it benefit other users?

Possible implementation

Not obligatory, but suggest an idea for implementing addition or change.

Your environment

Include as many relevant details about the environment you experienced the bug in and how to reproduce it.

lasamarndi commented 4 years ago

error is Uncaught SyntaxError: Unexpected end of input

elijahcruz12 commented 4 years ago

I think the package developer needs more info than this.

joaorobertopb commented 3 years ago

Please, use version 2.0. Thanks!

milad777v2 commented 3 years ago

i use version 2 but I also getting error