Skip to content
#

stylus

Here are 1,318 public repositories matching this topic...

dcastil
dcastil commented Oct 7, 2018

Using any of these doesn't work because the compiler thinks I want to use a for-loop.

// doesn't work with variable
for-something = 5

// doesn't work with mixin
for-tablet-portrait-up()
  @media (min-width: 600px)
    {block}

Syntactically it would make more sense to indicate a for-loop with for followed by a space character and treat for- followed by other character

sugoidesune
sugoidesune commented Dec 29, 2019

I wanted to declare the assets like so but it doesn't want to work. I tried all paths.

  [
    '@nuxtjs/style-resources', {
      scss: [ "~css/variables.scss"],
     }
  ]

It only works with this Syntax, could someone explain why or what im doing wrong?

  modules: ["@nuxtjs/style-resources"],

  styleResources: {
    scss: ["~css/variables.scss"]
  },

Improve this page

Add a description, image, and links to the stylus topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the stylus topic, visit your repo's landing page and select "manage topics."

Learn more