Home

Issue: 2746

How to use stylus in .vue style tag with lang attribute

[issue link]
First of all, forgive me if I’m talking nonsense 😅

Hello everyone, I’m trying to use stylus-loader just like we do with sass-loader, however I do not get the same result:

With sass-loader it runs fine, but when trying to use the stylus-loader an error is thrown:

Module build failed: Error: Can not find module 'stylus'

I tried to just install: npm i --save-dev stylus-loader, just like I did with sass … I have not tried any configuration in nuxt.config.js since I imagine it should already be “native” since version 1.0

How can I use stylus in .vue components?

This question is available on Nuxt.js community (#c2385)