We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
path
1 parent bde3d79 commit 4701025Copy full SHA for 4701025
src/index.ts
@@ -1,4 +1,3 @@
1
-import path from 'path'
2
import { reactive, Plugin } from 'vue'
3
import { OptionsInterface } from './interfaces/options'
4
import { LanguageInterface } from './interfaces/language'
@@ -10,7 +9,7 @@ import { choose } from './pluralization'
10
9
* Resolves the lang location, on a Laravel App.
11
*/
12
const defaultResolve = (lang: string): Promise<LanguageJsonFileInterface> => {
13
- return import(`..${path.sep}..${path.sep}..${path.sep}..${path.sep}resources${path.sep}lang/${lang}.json`)
+ return import(`../../../../resources/lang/${lang}.json`)
14
}
15
16
/**
0 commit comments