In the config array, you can set a new key "assets" to set some assets you want to include in your Block Type. This can be a stylesheet (.css/.scss) or a PHP file (tools/some_tool.php) or whatever extension you'd like to have. Let's look at the example below.
As you can see, you can also use a slash (/) to create a file within a different directory. Could be useful to group your files nicely or whenever it's a requirement of concrete5 itself to place in a given directory. Be sure not to override existing default files like these though if you don't mean to:
Of course, feel free to do so if you have a good reason for edits. In case you do think the default files could use an upgrade and other can profit from that, do let me know. Happy to make the Add-On better together with you!
In case you remove assets AFTER running the CLI command, the Add-On will not remove files that aren't available in this array. So please remove files manually if you don't need/want them anymore. No files will be removed, untill you actually do so yourself. That will prevent bad things from happening.
Use, by you or one client, in a single end product. The total price includes the item price and a buyer fee.
Use, by you or a client, in 5 single end products. The total price includes the item price and a buyer fee.
Use, by you or a client, in x/xx single end products.
Upon request, quote will be made and sent to you via email.
Got something to say? Need help?
View support forum