Денис Корх
Денис Корх

Reputation: 353

Elixir/Phoenix framework how to remove css

I want to remove all the standard styles, then add my own. I deleted all files from the folder assets/css and after that restarted the server - previous styles remain. Then I also deleted the styles from the folder priv/static/css and after that restarted the server - previous styles remain. Tell me, please, what am I doing wrong and how to add/remove CSS correctly?

Upvotes: 0

Views: 432

Answers (2)

axzwl
axzwl

Reputation: 23

Remove node_modules/.cache and you should be good.

Upvotes: 0

Денис Корх
Денис Корх

Reputation: 353

I solved the problem by adding the import of the necessary CSS to the assets/js/app.js

import "../css/test.css"

I don’t know how correct this solution is, but it works.

Upvotes: 0

Related Questions