JulienCorb
Hi everyone, I am also trying to install Bulma for a 1.4-dev project.
I added to my dependencies in package.json (left Jquery in devDependencies):
- “animate.css”: “^3.5.2”,
- “bulma”: “^0.6.2”,
- “bulma-extensions”: “^1.0.0”,
I added to my devDependencies in packages.json:
- “node-sass”: “^4.9.0”,
- “sass-loader”: “^7.0.1”,
- Added
node-sassandsass-loadertoassets/package.json - Renamed
assets/css/app.csstoassets/css/app.scss - Added the
sass-loaderto thecssfile section inwebpack.config.jsand changing the extension to.scss - changed
import css from "../css/app.css"toimport css from "../css/app.scss"inassets/js/app.js - ran
npm iin /myproject/assets (got no error)
but Bulma isn’t working.
It seems that the path to my css is wrong, because I get this error:
GET http://localhost:4000/css/app.scss net::ERR_ABORTED 404 (Not Found)
the corresponding line in my code is this one (in the head):
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.scss") %>"/>
whereas my path to my app.scss file is: /myproject/assets/css/app.scss
Did I forget something ?
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
apply_graft/2 doesn’t rewrite an add_many sub-workflow’s deps on an add step. Grafted jobs cancel with “upstream job was deleted”
Version...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 1 to 4- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
dokuzbir
You should point output css not scss
also did you import bulma in
app.scssfileJulienCorb
Hi @dokuzbir, thank you for your help !
So I pointed the path to
/css/app.cssas you mentionned and the error disappeared. (Although I don’t get it because I renamed my file app.scss)I didn’t import bulma in
app.scss. How should I do this ?@import "bulma";?edit: Indeed. I added
@import "bulma";to my app.scss and it now works perfectly.phoebe
Hi, did you manage to install bulma-extensions too?
I followed the instructions and have loaded bulma without issues, but when I try the same with bulma-extensions,
In
package.json:In
app.scss:I get the following error message about Not enough space, even though I have over 40GB disk and ~2GB free memory.
Is this really a memory space issue?
Thanks.
ondrej-tucek
Try change in
app.scssthe row with@import "bulma-extensions";to:or