You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I received this error in "theme.liquid" when getting used to VoltShopify Vite Plugin "'snippets/vite-tag.liquid' does not exist"
So my question is whether the file "vite-tag.liquid" is truly needed or the document is slightly outdated? And if it's needed, what the proper configuration for it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I received this error in "theme.liquid" when getting used to VoltShopify Vite Plugin "'snippets/vite-tag.liquid' does not exist"
So my question is whether the file "vite-tag.liquid" is truly needed or the document is slightly outdated? And if it's needed, what the proper configuration for it?
I was following this document
The error occurs at " render 'vite-tag' with ..."
Here is the full code:
```html {% # Inlined CSS Variables %} {% render 'css-variables' %} {% # Load and preload the critical CSS %} {{ 'critical.css' | asset_url | stylesheet_tag: preload: true }} {% # Social, title, etc. %} {% render 'meta-tags' %} {%- liquid render 'vite-tag' with 'main.css' render 'vite-tag' with 'main.ts' -%} {{ content_for_header }} {% sections 'header-group' %} {{ content_for_layout }} {% sections 'footer-group' %} ```for the project, I'm using
Beta Was this translation helpful? Give feedback.
All reactions