Skip to content

Commit

Permalink
Prevent src/style.styl from importing itself
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Jacobs committed May 23, 2016
1 parent 11b1ed7 commit 253ac42
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions generators/app/templates/src/style.styl
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,11 @@ textarea {
}

// Your global styles go here.
// It's recommended to break up your rules on a per-component basis and let each component inject them lazily.
// It's recommended to break up your rules on a per-component basis.

// Write your code without vendor-prefixing wherever possible, Autoprefixer will add them for you during compilation.
// e.g. display: flex; ------> display: webkit-flex; display: webkit-box; etc.

// Automatically import style.styl files in your components
@require "**/*.styl"
// Automatically import style.styl files in subdirectories below
// (the extra */* is to prevent this file from importing itself)
@import "*/*/**/*.styl"

0 comments on commit 253ac42

Please sign in to comment.