odestry / adastra Goto Github PK
View Code? Open in Web Editor NEWAdastra is a powerful, flexible framework for building unique and custom Shopify themes with next-gen frontend tools.
License: MIT License
Adastra is a powerful, flexible framework for building unique and custom Shopify themes with next-gen frontend tools.
License: MIT License
These changes are intruced to fix one issue with entrypoint files. Currently when you cant to make an entryoint file you have to do it in 2 steps:
src
)This means that any file inside the root will be considered as an entrypoint file, which will generate useless files and they will be copied to the assets folder without them being used.
This problem needs to be adressed as soon as possible, because with larger project the current root file decision deosn't scale, and will produce issues where files are being copied to the assets folder, like type definition files.
My machine uses rbenv and indeed I have ruby 3.1.2 and 3.2.0 installed, but for some reason, Shopify CLI bugs out on me not having 3.1.0 which is kinda dumb on that tooling.
yarn dev --store=booger-wooger.myshopify.com
Adastra Initiating launch sequence for booger-wooger store
To run this command, log in to Shopify Partners.
๐ Press any key to open the login page on your browser
โ Logged in.
โโ external error โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Error coming from bundle install
Command failed with exit code 1: bundle install
rbenv: version `3.1.0' is not installed (set by /Users/gimpygumpy/Documents/Shops/2023/adastra/node_modules/@shopify/cli-kit/assets/cli-ruby/.ruby-version)
So there is a link provided as:
Customize this theme in the Theme Editor, and use 'theme pull' to get the changes:
And that indeed loads up the theme in the store, and one can preview/customize. The thing is, this comes with a glitchy experience where the Theme Editor relentlessly issues POST requests to Shopify, simply by hovering the mouse around theme editor, not doing anything... not editing anything anyway. I have not seen this poor behaviour before, and it likely has nothing to do with Adastra, but man, it sucks. Poor experience anyway... Shopify needs to do better me thinks.
CLI
Hi Adastra team,
I'm using Adastra for the first time on my client project. I'm using custom fonts in the assets folder, but when I run npm run build,
the custom fonts are removed.
How can I run the build command without deleting my custom fonts?
Thanks,
Ulziibat
When I run npm run build,
the custom fonts are removed.
No response
Mac OS Monterey
package.json
if you're not sure)latest
zsh
node -v
if you're not sure)v20.0.0
ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [arm64-darwin21], git version 2.40.1
1 - Added an images banner for Adastra
2 - Add workflow badges
3 - Add a getting started guide
4 - Added a link to example demo in the link page
5 - Simplifier and remove usless files
6 - Explain that this is a beta access repo
Currently, the plugin imported from the Barrel Shopify Vite repository has a secondary entry points directory to support the second modules Vite plugin, since we don't use modules we should instead remove the code used by this Plugin inside Adastra plugin to avoid any issues in the long run.
No context.
This PR removes unused code and tests used by the modules Vite plugin.
These changes are introduced to update the two templates that originally come with Adastra, and also to add a README to the root templates folder, explaining how templates work, and hot scaffold an Adastra project from existing templates.
/templates
folder.packages.json
for required changes.Update the two templates repositories with the new changes. For basic template and minimal template
Examples
New feature
I'm concerned about id conflicts if there are multiple Sections on the same page, since I do it for id elements when I create them in React. Therefore, I think it would be better to be able to prepare it in WebComponents. Thus, Preact and lit are good examples, but we would also like to use Hydrogen's functionality. So if this is feasible, I would like to see an example.
I was working on Theme App Extension with Preact + Tailwind + WebComponents and thought how happy I would be if I could develop the theme itself with the same experience. That's when I found this repository and asked a question.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.