Skip to content

Angular Builder

Terminal window
npm install @localive/plugin-angular

Replace the default browser builder in your angular.json:

{
"projects": {
"my-app": {
"architect": {
"build": {
"builder": "@localive/plugin-angular:dev-server",
"options": {
"translationsPath": "src/locales",
"locales": ["en", "fr", "de"],
"defaultLocale": "en"
}
}
}
}
}
}

The Angular builder wraps the standard dev-server build and intercepts translation update requests.

Same as the Vite plugin. See Vite Plugin for details.