Gabriel Guérin
11/21/2022, 1:47 PMstorefront.html.erb seems to work however (with the text being very small).waiting_for_dev
11/21/2022, 1:55 PMGabriel Guérin
11/21/2022, 2:08 PMrails new amazing_store --css tailwind --skip-javascript instead of just rails new amazing_store --skip-javascript . Then, when prompted, I chose to install the solidus_starter_frontend storefront.
I will also add this on a GH discussion.waiting_for_dev
11/21/2022, 2:13 PM-css flag. For instance, the JS stuff.Gabriel Guérin
11/21/2022, 2:20 PMGabriel Guérin
11/21/2022, 2:31 PMwaiting_for_dev
11/21/2022, 2:43 PMCody Baldwin
11/22/2022, 1:02 AM@tailwind _base_;
@tailwind _components_;
@tailwind _utilities_;
And then override the frontend "storefront" layout at https://github.com/solidusio/solidus_starter_frontend/blob/main/templates/app/views/layouts/storefront.html.erb
to include:
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
The installer can only look for layout paths in the project, I think, not inside of separate gems, see: https://github.com/rails/tailwindcss-rails/blob/main/lib/install/tailwindcss.rb#L7Gabriel Guérin
11/22/2022, 9:57 AMUncaught ReferenceError: $ is not defined
• Uncaught ReferenceError: Solidus is not defined
Hello @Cody Baldwin, thanks for your answer! I will try to implement your suggestions. Does this mean that I will lose all the design from Solidus Starter Frontend when I implement Tailwind? Meaning, I will have to redo all the frontend with Tailwind, store and admin panel, to get my app going?Cody Baldwin
11/22/2022, 11:04 PMwaiting_for_dev
11/23/2022, 2:14 PMGabriel Guérin
11/24/2022, 8:02 PMAlexander V
11/29/2022, 3:50 PMkennyadsl
kennyadsl
Gabriel Guérin
12/13/2022, 8:52 AMGabriel Guérin
12/23/2022, 7:13 PMkennyadsl