Set up project
Closed this issue · 3 comments
marcoow commented
First steps first – we need a new Ember app. We won't be using ember-data
so we can drop that and we should add ember-test-selectors
so data-test-
selectors will be removed in production properly.
TODO
-
ember new
- remove
ember-welcome-page
- remove
ember-data
- add
ember-test-selectors
- add
ember-intl
addember-intl
polyfills- set the locale statically (for now) in the
application
route'sbeforeModel
method - enable the
no-bare-strings
template linting rule - enable
errorOnNamedArgumentMismatch
,errorOnMissingTranslations
,stripEmptyTranslations
ember-intl configuration settings - add
ember-intl-analyzer
Open Questions
- we need to define what browsers we want to support to decide on the polyfills we need to install for those; of course service workers are only supported in modern browsers anyway but if we wanted to allow older browsers to use this still which would be possible we'd have to install polyfills for some
Intl
APIs Update: we won't support IE11 or Opera which means no polyfills are necessary
BobrImperator commented
- add ember-intl
setup tailwindcss
marcoow commented
@BobrImperator I'd do the tailwind setup in a task in which we actually build components so we're adding it together with an actual use case of it
marcoow commented
done