Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

PaulMarshall's avatar

Working with Spark app.js

Is it possible to extend this file to use outside of Spark? When I try to include it in blade files in the views folder that aren't part of the spark setup, it says "Spark is not defined".

It seems crazy to have a separate app.js file I call in for none Spark content, so is it just the case I should try and extend everything from within the spark/views folder for the layouts?

0 likes
0 replies

Please or to participate in this conversation.