Skip to content

Instantly share code, notes, and snippets.

@GianlucaGuarini
Created May 12, 2017 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GianlucaGuarini/34a42054e3cb033ec615201527c40a34 to your computer and use it in GitHub Desktop.
Save GianlucaGuarini/34a42054e3cb033ec615201527c40a34 to your computer and use it in GitHub Desktop.
{
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"riot": "^3.4.2"
},
"devDependencies": {
"coffee-script": "^1.12.5",
"pug": "^2.0.0-rc.1",
"stylus": "^0.54.5"
},
"scripts": {
"start": "riot --template pug --type coffee --style stylus test.tag test.js"
},
"author": "Gianluca Guarini <gianluca.guarini@gmail.com> (http://gianlucaguarini.com)",
"license": "MIT"
}
home
h1 some title here
p hello world
script(type="coffee").
# your coffee script here
console.log "Starting a Riot!"
style.
/* your css here */
.project{
background-color: #000;
}
style(type="stylus")
// your stylus here
@amireldor
Copy link

I think style(type="stylus") should be style(type="stylus"). (note trailing dot).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment