Electron-vue: stylus Support

Created on 28 May 2018  ·  2Comments  ·  Source: SimulatedGREG/electron-vue

Found an issue or bug with electron-vue? Tell me all about it!

Questions regarding how to use electron or vue are likely to be closed as they are not direct issues with this boilerplate. Please seek solutions from official documentation or their respective communities.

Describe the issue / bug.

#

How can I reproduce this problem?

#

i need use stylus in vue, but i can't config it, i hope like vue init webpack, init suport stylus.

If visual, provide a screenshot.

#

Tell me about your development environment.
  • Node version:
  • NPM version:
  • vue-cli version: (if necessary)
  • Operating System:

If you are looking to suggest an enhancement or feature, then feel free to remove everything above.

question

Most helpful comment

@JarlRyan

All should need to do is install the proper dependencies with...

npm install stylus-loader stylus --save-dev

From there, you should be able to add the lang="stylus" attribute to your <style> tags.

All 2 comments

or show some samples what i can study.

@JarlRyan

All should need to do is install the proper dependencies with...

npm install stylus-loader stylus --save-dev

From there, you should be able to add the lang="stylus" attribute to your <style> tags.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

webrtcn picture webrtcn  ·  3Comments

xiaomizhou66 picture xiaomizhou66  ·  3Comments

iwen-pengh picture iwen-pengh  ·  3Comments

blackw212 picture blackw212  ·  3Comments

pansila picture pansila  ·  3Comments