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
Adding subfolder structure to snippets #115
Comments
This is more a restriction of Shopify than Slater. You should be able to sort it with the code you're already using though. I wrote this whilst playing around with the idea last year, and assuming the plugin hasn't changed too much, I'd imagine it will still work. Your render tag needs to reference the path in some way. For example, if I had a snippet in As you can see, the delimiter I chose was |
Hey all!
I use a lot of snippets and it's getting harder to organize. I'm trying to add a folder structure to snippets folder but couldn't output the files into snippets/ root. Any ideas how can I do it?
Example:
from /snippets/components/foo.liquid
to /snippets/foo.liquid
I have installed https://webpack.js.org/plugins/copy-webpack-plugin/
Added this code below to my slate.config.js, no errors, nothing happens. Still builds the folders as it is.
The text was updated successfully, but these errors were encountered: