Content-Length: 368198 | pFad | http://github.com/odestry/theme-starter/commit/153009740ecacbecaaef9319ada3924b308debf2

07 Merge branch 'main' into vite-plugin · odestry/theme-starter@1530097 · GitHub
Skip to content

Commit

Permalink
Merge branch 'main' into vite-plugin
Browse files Browse the repository at this point in the history
Signed-off-by: Youness Id bakkasse <63895927+blanklob@users.noreply.github.com>
  • Loading branch information
blanklob authored Aug 17, 2024
2 parents 0fee5c6 + e41fe9f commit 1530097
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 29 deletions.
1 change: 1 addition & 0 deletions assets/entry.DJqbQjLU.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/entry.theme.DAmrlBVT.min.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
function o(n){return n+1}console.log(o(1));
12 changes: 11 additions & 1 deletion config/settings_data.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
/*
* ------------------------------------------------------------
* IMPORTANT: The contents of this file are auto-generated.
*
* This file may be updated by the Shopify admin theme editor
* or related systems. Please exercise caution as any changes
* made to this file may be overwritten.
* ------------------------------------------------------------
*/
{
"current": "Default",
"presets": {
"Default": {}
"Default": {
}
}
}
2 changes: 1 addition & 1 deletion layout/theme.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

{% render 'typography' %}

{% render 'entry' with 'theme.entry.js' %}
{% render 'entry' with '/entry.theme.js' %}

{{ content_for_header }}
</head>
Expand Down
11 changes: 10 additions & 1 deletion locales/en.default.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------------------------------
* IMPORTANT: The contents of this file are auto-generated.
*
* This file may be updated by the Shopify admin language editor
* or related systems. Please exercise caution as any changes
* made to this file may be overwritten.
* ------------------------------------------------------------
*/
{
"gift_cards": {
"issued": {
Expand All @@ -14,4 +23,4 @@
"print_gift_card": "Print"
}
}
}
}
30 changes: 5 additions & 25 deletions snippets/entry.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,8 @@
IMPORTANT: This snippet is automatically generated by vite-plugin-shopify.
Do not attempt to modify this file directly, as any changes will be overwritten by the next build.
{% endcomment %}
{% assign path = entry | replace: '~/', '../' | replace: '@/', '../' %}
{% liquid
assign path_prefix = path | slice: 0
if path_prefix == '/'
assign file_url_prefix = 'http://localhost:5173'
else
assign file_url_prefix = 'http://localhost:5173/frontend/entrypoints/'
endif
assign file_url = path | prepend: file_url_prefix
assign file_name = path | split: '/' | last
if file_name contains '.'
assign file_extension = file_name | split: '.' | last
endif
assign css_extensions = 'css|less|sass|scss|styl|stylus|pcss|postcss' | split: '|'
assign is_css = false
if css_extensions contains file_extension
assign is_css = true
endif
%}
<script src="http://localhost:5173/@vite/client" type="module"></script>
{% if is_css == true %}
{{ file_url | stylesheet_tag }}
{% else %}
<script src="{{ file_url }}" type="module"></script>
{% endif %}
{% assign path = entry | replace: '~/', '../../' | replace: '@/', '../' %}
{% if path == "/entry.theme.js" or path == "../../entry.theme.js" %}
<script src="{{ 'entry.theme.DAmrlBVT.min.js' | asset_url | split: '?' | first }}" type="module" crossorigen="anonymous"></script>
{{ 'entry.DJqbQjLU.min.css' | asset_url | split: '?' | first | stylesheet_tag: preload: preload_stylesheet }}
{% endif %}
2 changes: 1 addition & 1 deletion templates/gift_card.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

{% render 'typography' %}

{{ 'styles.css' | asset_url | stylesheet_tag }}
{% render 'entry' with '/entry.theme.js' %}

{{ content_for_header }}
</head>
Expand Down

0 comments on commit 1530097

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/odestry/theme-starter/commit/153009740ecacbecaaef9319ada3924b308debf2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy