Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Oct 24, 2021
1 parent ea27cc6 commit 5f63ca6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@
"playwright-chromium": "1.15.2",
"release-it": "14.11.6",
"serve-static": "1.14.1",
"typescript": "^4.4.4",
"vue-template-compiler": "^2.6.14"
"typescript": "^4.4.4"
}
}
2 changes: 1 addition & 1 deletion src/core/hooks.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { STRATEGIES } from '../helpers/constants'
import { formatMessage } from '../templates/utils-common'
import { makeRoutes } from '../helpers/routes'

/**
* @this {import('@nuxt/types/config/module').ModuleThis}
Expand All @@ -22,7 +23,6 @@ export function createExtendRoutesHook (options) {
// Load 'vue-template-compiler' module with Resolver dynamically
// See https://github.com/nuxt-community/i18n-module/issues/297#issuecomment-491755323
const { parseComponent } = this.nuxt.resolver.requireModule('vue-template-compiler')
const { makeRoutes } = require('../helpers/routes')

const localizedRoutes = makeRoutes(routes, {
...options,
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13444,7 +13444,7 @@ vue-style-loader@^4.1.0, vue-style-loader@^4.1.3:
hash-sum "^1.0.2"
loader-utils "^1.0.2"

vue-template-compiler@^2.6.12, vue-template-compiler@^2.6.14:
vue-template-compiler@^2.6.12:
version "2.6.14"
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.6.14.tgz#a2f0e7d985670d42c9c9ee0d044fed7690f4f763"
integrity sha512-ODQS1SyMbjKoO1JBJZojSw6FE4qnh9rIpUZn2EUT86FKizx9uH5z6uXiIrm4/Nb/gwxTi/o17ZDEGWAXHvtC7g==
Expand Down

0 comments on commit 5f63ca6

Please sign in to comment.