nuxt-i18n
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="3.3.1"></a> | ||
## [3.3.1](https://github.com/nuxt-community/nuxt-i18n/compare/v3.3.0...v3.3.1) (2018-06-06) | ||
### Bug Fixes | ||
* Fix routes generation with nuxt generate ([#95](https://github.com/nuxt-community/nuxt-i18n/issues/95)) ([ff127a5](https://github.com/nuxt-community/nuxt-i18n/commit/ff127a5)), closes [#82](https://github.com/nuxt-community/nuxt-i18n/issues/82) | ||
<a name="3.3.0"></a> | ||
@@ -7,0 +17,0 @@ # [3.3.0](https://github.com/nuxt-community/nuxt-i18n/compare/v3.2.4...v3.3.0) (2018-05-30) |
{ | ||
"name": "nuxt-i18n", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "i18n for Nuxt", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -57,3 +57,3 @@ import { | ||
let { name, path } = route | ||
const localizedRoute = { ...route, children: [] } | ||
const localizedRoute = { ...route } | ||
@@ -68,2 +68,3 @@ // Skip if locale not in module's configuration | ||
if (route.children) { | ||
localizedRoute.children = [] | ||
for (let i = 0, length1 = route.children.length; i < length1; i++) { | ||
@@ -70,0 +71,0 @@ localizedRoute.children = localizedRoute.children.concat(buildLocalizedRoutes(route.children[i], { locales: [locale] }, true)) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32914
728