Coder Social home page Coder Social logo

Comments (6)

gpoitch avatar gpoitch commented on May 29, 2024

I just reconfirmed it works correctly.

  1. create an ember-cli app ember new lesstest
  2. cd to project directory
  3. install ember-cli-less npm install --save-dev ember-cli-less
  4. rename app/styles/app.css to app/styles/app.less because you now want to use less.
  5. start server ember s
  6. confirmed dist/assets/lesstest.css is created

from ember-cli-less.

stuff avatar stuff commented on May 29, 2024

ok, thank you and sorry for this. Starting a new project, everything is fine. With my own project (started without less) it doesn't. When server starts, it keep complaining about a missing app.css (coz we renamed it to .less). I will invistagate further.

from ember-cli-less.

rohozhnikoff avatar rohozhnikoff commented on May 29, 2024

Also have this problem. Trying to start new project and up the server, but take similar error with my exist project:
https://www.dropbox.com/s/opsqrybmce4mynq/Screenshot%202014-10-13%2017.23.27.png?dl=0

from ember-cli-less.

stuff avatar stuff commented on May 29, 2024

it seems you don't have a app/styles/app.less file (which is not my case)

from ember-cli-less.

gpoitch avatar gpoitch commented on May 29, 2024

You need to create app.less. I'll add that to the readme. Also, all of your project's css have to be .less files. Ember cli currently does not support both preprocessed + regular css files.

from ember-cli-less.

rohozhnikoff avatar rohozhnikoff commented on May 29, 2024

At first i too thought so. And create app.less with some valid rules. But even when i had app.css and app.less together, error didn't change.

Cause of my problem, was a broccoli-less-single, from older version of ember-cli, which placed in package.json. I think ember-cli so smart and automatically enable this plugin. Profit Conflict.

from ember-cli-less.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.