I am a yeoman newbie and I accidentally installed Sass/CoffeeScript which now defaults to changes being built from the CoffeeScript file. I would like to go back to working with the JS file ie
scripts/main.js
Is there a flag / value that I can change in something like Gruntfile.js to go back to Javascript mode
I don't know about an easier solution, but here's mine:
Create two identical scaffolds with yeoman: one with Sass/CoffeeScript support, the other without. Next, compare created project structures recursively (I recommend using meld
). You'll find out that the only actual differences lie in Gruntfile
- apply them in your original project.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.