vue-library-template icon indicating copy to clipboard operation
vue-library-template copied to clipboard

"lib.styl" is created when stylus is not chosen

Open eliranmal opened this issue 7 years ago • 0 comments
trafficstars

description

i see that a redundant file is created in the when choosing not to use stylus, under src/styles/lib.styl (it's created empty).

steps to reproduce

this was my case, but it may reproduce in a more common scenario, e.g. create the template outside the repo directory.

  1. navigate to an existing github project directory

  2. run the vue-cli template init command inside that directory

  3. answer with the following:

    ? Generate project in current directory? Yes
    ? Project name <name>
    ? Project description <description>
    ? Author <author>
    ? Vue build runtime
    ? Install vue-router? No
    ? Use ESLint to lint your code? Yes
    ? Pick an ESLint preset Airbnb
    ? Install Buefy, a lightweight Vue UI framework with Bulma, useful for your demo/docs pages (will also add a material design icons cdn link to your index.html)? Yes
    ? Install Sass/SCSS (Note: Buefy needs this)? Yes
    ? Install Stylus (Note: You'll need to additionally install it globally for Sublime yourself)? No
    ? Install Pug (formally Jade) for cleaner templates in your .vue files? No
    ? Setup unit tests with Karma + Mocha? Yes
    ? Setup e2e tests with Nightwatch? No
    

environment details

os: mac os 10.12.6 (sierra) node.js: 9.2.0 npm: 5.5.1 vue-cli: 2.9.3

eliranmal avatar Mar 28 '18 14:03 eliranmal