Getting ready

Before we can get started, to take advantage of just-in-time localization in Angular, we will have to eject our project from Angular-CLI:

ng eject

This is necessary to access the WebPack configuration file. After ejecting the project, you will have a new file in your project called webpack.config.js.

We will need to add a new module rule to this file to work with our .xlf files manually:

module.exports = {
...
"module": {
"rules": [
...
{
test: /.xlf/,
loader: 'raw-loader'
},
...
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.135.67