blup / bootstrap.stylus Goto Github PK
View Code? Open in Web Editor NEWTwitter's bootstrap ported to stylus
License: Other
Twitter's bootstrap ported to stylus
License: Other
Let me know
i can do this from a .styl
file:
@import "bootstrap"
but when i try this:
@import "bootstrap/type"
i get this error:
500 Error: site/stylus/assets/css/typography.styl:2 1| @import "bootstrap" > 2| @import "bootstrap/patterns" 3| 4| @import file bootstrap/patterns.styl
1| @import "bootstrap"
> 2| @import "bootstrap/patterns"
3|
4| failed to locate @import file bootstrap/patterns.styl
at Evaluator.visitImport (site/node_modules/stylus/lib/visitor/evaluator.js:627:21)
at Evaluator. (site/node_modules/stylus/lib/visitor/index.js:28:39)
at Evaluator.visit (site/node_modules/stylus/lib/visitor/evaluator.js:72:18)
at Evaluator.visitRoot (site/node_modules/stylus/lib/visitor/evaluator.js:499:27)
at Evaluator. (site/node_modules/stylus/lib/visitor/index.js:28:39)
at Evaluator.visit (site/node_modules/stylus/lib/visitor/evaluator.js:72:18)
at Evaluator.evaluate (site/node_modules/stylus/lib/visitor/evaluator.js:141:15)
at Renderer.render (site/node_modules/stylus/lib/renderer.js:52:26)
at site/node_modules/stylus/lib/middleware.js:140:17
at [object Object]. (fs.js:115:5)
any clues as to why i can import the entire bootstrap lib but not just a portion of it?
can't find this on npm, wondering if you were gonna push this there?
I use :
└─┬ [email protected]
├─┬ [email protected]
├─┬ [email protected]
├── [email protected]
Try to do node connect.js
in examples, it give me results :
Also, i try with express + stylus,
http://twitter.github.com/bootstrap/examples/container-app.html
Here is the jade template for it :
!!!
html
head
title= title
link(rel='stylesheet', href='/stylesheets/style.css')
body!= body
.topbar
.fill
.container
a.brand(href='#') Project name
ul.nav
li.active
a(href='#') Home
li
a(href='#about') About
li
a(href='#contact') Contact
form.pull-right(action='')
input.input-small(type='text', placeholder='Username')
input.input-small(type='password', placeholder='Password')
button.btn(type='submit') Sign in
.container
.content
.page-header
h1
| Page name
small Supporting text or tagline
.row
.span10
h2 Main content
.span4
h3 Secondary content
footer
p © Company 2011
And still css error issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.