ember-pods

How to hide a section in .hbs and .js while taking an ember production build

吃可爱长大的小学妹 提交于 2021-02-11 15:21:01
问题 Our Ember application is developed in 2.8 version and we follow POD structure. We are generating two different builds as below 1) For our dev server : No change in code,just do build 2) For our test server: Delete a section in HBS and also remove a route from router.js then do build And we take build using " npm run-scripts build " which is configured in our package.json as below "scripts": { "build": "ember build", "start": "ember server", "test" : "ember test" }, I would like to know in

How to hide a section in .hbs and .js while taking an ember production build

▼魔方 西西 提交于 2021-02-11 15:16:21
问题 Our Ember application is developed in 2.8 version and we follow POD structure. We are generating two different builds as below 1) For our dev server : No change in code,just do build 2) For our test server: Delete a section in HBS and also remove a route from router.js then do build And we take build using " npm run-scripts build " which is configured in our package.json as below "scripts": { "build": "ember build", "start": "ember server", "test" : "ember test" }, I would like to know in