Static GitHub Issues

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

prev: HMR for nuxt modules
next: Timestamp in nuxt logs?
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?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2385">#c2385</a>)</em></sub></div>