Comments (5)
I have the same issue :
Here is my Brocfile.js :
var jade = require('broccoli-jade');
var stylus = require('broccoli-stylus');
var tree = 'src/';
tree = stylus(tree, {});
tree = jade(tree, {});
module.exports = tree;
and my src/index.jade :
doctype html
html(lang="fr")
head
title my title
style
include style.css
body
h1 my title
and my src/style.styl :
*
color red
the stylus step is done before the jade step so it should work, but it does'nt.
Any fix ?
Regards,
Millicent Billette
from broccoli-jade.
problem solved, by using an other module :
var stylus = require('broccoli-stylus');
var renderTemplates = require("broccoli-render-template");
var tree = 'src/';
tree = stylus(tree, {});
tree = renderTemplates(tree,{pretty:true});
module.exports = tree;
with these dependency in place of broccoli-jade
: broccoli-render-template
and jade
from broccoli-jade.
I have also switched to broccoli-render-template, it fixes this problem and supports Jade and more.
from broccoli-jade.
Yet another alternative:
https://github.com/akvadrako/broccoli-jade-render
(It is almost as if search engines do not exist. Why bother to find an existing tool, and improve it? Better to start yet another alternative to do the same time...)
from broccoli-jade.
This project is deprecated.
from broccoli-jade.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broccoli-jade.