This is minimal Ember app example;
Created to show ability to modify Ember components without ember-cli and includes ember-template-compiler runtime.
To get same setup for you app, you should modify mentioned files and render <Main />
component in application.hbs
template.
Build application, collect artifacts, and replace index.html
with this example.
Step-by step example:
ember new reading-list
cd reading-list
- edit
environment.js
specifyinglocationTyppe
tonone
; - edit
ember-cli-build.js
to bundleember-template-compiler
; - create
app/components/main.js
file and put content frommain.js
into it. - edit
app/templates/application.hbs
and add<Main />
component into it.
usage example:
see: microsoft/playwright#8444