gsperka
Unable to access default css file in Petal 1.0.0 update
Hello -
I am still very new to Phoenix / Elixir. I am having a very difficult time simply importing an additional css file in my app.css file.
I am using Petal and just up downloaded their major update (to 1.0.0 ). The instructions shown here: Install has the following lines:
@import "tailwindcss/base";
@import "../../deps/petal_components/assets/default.css";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
The problem is that @import "../../deps/petal_components/assets/default.css"; is simply not being imported / built. Is this an esbuild problem? This problem is documented here: https://stackoverflow.com/a/71591398/3007294 but I followed these instructions and still no luck. Any ideas? I also imported the css file in the app.js file (which still doesn’t make sense to me since it’s a css file and I am coming from a webpack background…) but that didn’t work either…
Most Liked
gsperka
Thanks @acco. I never followed up here, but I created a Github Issue that was eventually resolves: Bug: Unable to import "../../deps/petal_components/assets/default.css"; in app.css file · Issue #154 · petalframework/petal_components · GitHub
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









