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-sass and sass-loader to assets/package.json
Renamed assets/css/app.css to assets/css/app.scss
Added the sass-loader to the css file section in webpack.config.js and changing the extension to .scss
changed import css from "../css/app.css" to import css from "../css/app.scss" in assets/js/app.js
ran npm i in /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