I'm trying to create a ember 2.8.0 project.
Ember.js docs doesn't help me in creating a version specific project. : (
A few questions were asked in stackoverflow regarding this topic and those answers were not working as none of them are accepted answers.
Can someone help me out ?
You have two options to create an Ember project with an old version:
npx
to run ember-cli
with that version once.I would recommend the second option as having an outdated Ember CLI version installed globally could get confusing.
The command looks like this:
npx ember-cli@<version> new <application-name>
Using latest v2.8
release and calling the application my-app
the command looks like this:
npx ember-cli@~2.8.0 new my-app
You could set any options that you like. For example if you want to use yarn as package manager you could run it like:
npx ember-cli@~2.8.0 new my-app --yarn