nuxt-i18n
Advanced tools
Comparing version 2.9.0 to 2.9.1
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.9.1"></a> | ||
## [2.9.1](https://github.com/nuxt-community/nuxt-i18n/compare/v2.9.0...v2.9.1) (2018-03-26) | ||
### Bug Fixes | ||
* Fallback to using route's name if chunkName empty ([0969229](https://github.com/nuxt-community/nuxt-i18n/commit/0969229)), closes [#52](https://github.com/nuxt-community/nuxt-i18n/issues/52) | ||
<a name="2.9.0"></a> | ||
@@ -7,0 +17,0 @@ # [2.9.0](https://github.com/nuxt-community/nuxt-i18n/compare/v2.8.1...v2.9.0) (2018-03-22) |
@@ -41,3 +41,3 @@ const { has } = require('lodash') | ||
let { path, name, children } = baseRoute | ||
const cleanChunkName = chunkName.replace(/^pages\//, '') | ||
const cleanChunkName = chunkName ? chunkName.replace(/^pages\//, '') : name | ||
if (children) { | ||
@@ -44,0 +44,0 @@ children = generateRoutes({ |
{ | ||
"name": "nuxt-i18n", | ||
"version": "2.9.0", | ||
"version": "2.9.1", | ||
"description": "i18n for Nuxt", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
26841