I then updated the settings for the form to use the correct freeform template
When I view the form on the front end i get this error:
Invalid Argument – [yii\base\InvalidArgumentException](https://www.yiiframework.com/doc-2.0/yii-base-invalidargumentexception.html)
The file or directory to be published does not exist: /_freeform/formatting/_main.css
I then updated the paths for _main.css and _main.js to match what I have and it still gives me this error:
{# CSS overrides #}
{% set cssPath = view.assetManager.publishedUrl('_freeform/formatting/_main.css', true) %}
{% do view.registerCssFile(cssPath) %}
{# JS overrides #}
{% set jsPath = view.assetManager.publishedUrl('_freeform/formatting/_main.js', true) %}
{% do view.registerJsFile(jsPath) %}
{% import "_freeform/formatting/_row.twig" as rowMacro %}
Errors and Stack Trace (if available)
No response
How can we reproduce this?
update to freeform 5.7.1
change formatting template from bootstrap 3 to copied tailwind templates
What happened?
I copied the tailwind templates (from the docs) to my template folder in this heirarchy
I then updated the settings for the form to use the correct freeform template
When I view the form on the front end i get this error:
I then updated the paths for _main.css and _main.js to match what I have and it still gives me this error:
Errors and Stack Trace (if available)
No response
How can we reproduce this?
Freeform Edition
Lite
Freeform Version
5.7.1
Craft Version
4.12.8
When did this issue start?
After upgrading from older Freeform version
Previous Freeform Version
highest version 4