kpax
kpax

Reputation: 661

Example of configuring Flask + AngularJS + PyJade (or other alternative to Jinja)

I am new to Flask and building a web app that uses Flask and AngularJS. My understanding is that the static directory is the place to store AngularJS files like javascript and templates.

I wonder if there is a stable alternative to Html/Jinja that I can use for templates. And if there is, how can I enable it to work with template files inside the static directory?

I was looking to PyJade but didn't get how to get it working with the web assets pipeline.

Would appreciate any example or recommendation.

Upvotes: 0

Views: 701

Answers (2)

Syrus Akbary Nieto
Syrus Akbary Nieto

Reputation: 1253

Hi @user3745936 I'm Syrus, creator of pyjade. What is the code you are trying to use?

Upvotes: 0

doru
doru

Reputation: 9110

You could use Mako. See here how to install and use it. Also you could use Genshi.

Upvotes: 0

Related Questions