I am working on a Vue2 project with the Webpack template and utilizing Stylus as a CSS preprocessor. I'm facing difficulties in applying plugins for Stylus like rupture.
I attempted to adjust the options in build/utils.js for the stylus loader by adding the following:
stylus: generateLoaders('stylus', {use: [require('rupture')()]}),
styl: generateLoaders('stylus', {use: [require('rupture')()]})
Furthermore, I tried to import rupture from the tag in App.vue:
@import 'rupture/rupture/index.styl' // also 'rupture/index.styl'
I also experimented with importing it from main.js but have not been successful yet.
Thank you in advance!