preact-cli: SASS not being used even when specified

Cannot get the CLI to initialize a new project with SASS as default.

I have tried:

  • preact create app --name dashboard --sass --dest dashboard --type full (inits with less)
  • preact create app --sass or even preact create app --sass=true (inits with css)

node -v: v6.9.0 npm -v: 3.10.8

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 10
  • Comments: 17 (8 by maintainers)

Most upvoted comments

If you want to use SASS:

  1. Create an app with sass option: > preact create test --sass

  2. Rename *.less to *.scss

  3. Convert content less files to sass by using http://less2scss.awk5.com/

  4. npm start

@developit - yeps indeed. I am working on making sass/less/css versions of all the examples so it can deliver the correct type once specified via the cli.