user7695777
user7695777

Reputation:

How to use SASS in Django?

How to make work in django index.html with following line?

<link href="{{ elixir('css/app.css')}}" rel="stylesheet" type="text/css">

Also I can't find much on how to use sass in Django.

I have index.html and SASS files from laravel, can I make it work in Django?

Cheers.

Upvotes: 3

Views: 11022

Answers (2)

Ganesh
Ganesh

Reputation: 3428

I would suggest to use django-webpack-loader & configure webpack. This might help https://github.com/khadegd/django-webpack-starter.

Notice: I'm the owner of django-webpack-loader

Upvotes: 5

Arash Hatami
Arash Hatami

Reputation: 5551

Work with sass or less is not like Laravel. You can use many libraries to do that

  1. django-sass-processor
  2. django-libsass

Upvotes: 4

Related Questions