Comments (7)
You need to run
bin/dev
but even with this the solidus_admin/tailwind.css
does not get build in the admin/app/assets/builds
folder.
@elia what are the steps to set up a working sandbox locally with solidus_admin
. And how do the compiled assets end up in the engine folder in the released gem? Do we have a build step somewhere?
from solidus.
you can reduce the number of commands to:
bin/rake -C admin tailwindcss:build
bin/dev
We could also touch
or build the css file as part of the sandbox script, just to avoid that nasty error, but bin/dev
would still be the preferred way.
All of that should be better documented once we finalize #5595, sorry about the inconvenience.
from solidus.
I can confirm that solidus_admin/tailwind.css
is in the built gem, but it is missing in the git checkout. What makes sense, but still I cannot see a task that builds the file during release.
from solidus.
Workaround:
- CD into
admin
- Run
bundle exec rake tailwindcss:build
- CD into sandbox
- start
bin/dev
@elia ideally we would have a top level rake task for this or check in the tailwind.css file into the repo, because it wont change often. Then rebuild it via GH actions on push or something (as we do in Alchemy to build our admin bundles)
from solidus.
I think this should be automated, and part of the solidus installer (at least). Also, I think this affects all extensions in the ecosystem, as none that I looked at over the past couple of days (and I looked at a few) currently build. Even the ones that should build fail with errors related to SolidusAdmin
.
from solidus.
@mamhoff @elia now that #5600 has been merged most extensions should build again, right?
from solidus.
@elia what do you think about committing the built tailwind css file into the admin repo (and update it on PR merge)? That file won't change much (at least once the admin has been built out). And even in until then it makes to have it updated regularly (not just on gem release). Thoughts?
from solidus.
Related Issues (20)
- Scope Admin Orders to Store HOT 2
- [Admin] products/index/variants/index
- either width or height must be specified HOT 8
- [admin] Consider committing the built tailwind css file into the admin repo
- Backend: use of cdn causes remixicon.symbol.svg to not download due to its being an svg used with <use> tag HOT 3
- SQL error while searching by variant name in stock management view HOT 3
- Cant install
- [Backend] Backordered items may become on hand when splitting shipment
- Nil variant shipping category not handled properly in form
- The action 'show' could not be found for Spree::Admin::PropertiesController
- Disaster Recovery Guidance
- Production Images Break
- [Admin][Settings][Shipments] Introduce shipping category creation and modification capability
- Read/write separation
- [Admin][UI][Bulk actions] Require confirmation before completing bulk deletes HOT 3
- undefined method `total_pages' for 30:Integer for zones in solidus 4.3.0
- [Admin] - 2nd Option Type is lost, can't add to existing product HOT 3
- Deprecation warnings don't raise when they should HOT 5
- Solidus demo app doesn't work (styles are not loading?)
- [Admin][Settings][Refunds and Returns] Introduce RMA reason creation and modification capability
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solidus.