Pre-Official ember packages:
# Apps
ember new my-app -b ember-octane-app-blueprint
# Addons
ember addon my-addon -b ember-octane-addon-blueprint
Official ember packages (these do not exist yet)
# Apps
ember new my-app -b @ember/octane-app-blueprint
# Addons
ember addon my-addon -b @ember/octane-addon-blueprint
Included:
- Module Unification
- Glimmer Components
- Native Decorators
- Tracked Properties
- ember-auto-import
- no jquery
import Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';
export default class HolaComponent extends Component {
@tracked count = 0;
increment() {
this.count++;
}
decrement() {
this.count--;
}
}
# Clone repo
git clone [email protected]:ember-cli/ember-octane-blueprint.git
# Install dependecies
cd ember-octane-blueprint/packages/\@ember/octane-app-blueprint
yarn install
cd ../octane-addon-blueprint
yarn install
# Move to the desired folder to create your octane app or addon
cd ~
# Create octane app using the local blueprint
ember new my-app -b $pathToBlueprintRepo/ember-octane-blueprint/packages/\@ember/octane-app-blueprint
# Create octane addon using the local blueprint
ember addon my-addon -b $pathToBlueprintRepo/ember-octane-blueprint/packages/\@ember/octane-addon-blueprint
This project is licensed under the MIT License.