Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
victorgarciaesgi committed Feb 20, 2024
1 parent eec42f2 commit f18f2a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/core/createTypedRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { extendPages } from '@nuxt/kit';
import type { Nuxt, NuxtPage } from '@nuxt/schema/dist/index';
import chalk from 'chalk';
import logSymbols from 'log-symbols';
import { moduleOptionStore } from '$$/core/stores';
import { handleAddPlugin, saveGeneratedFiles } from './output';
import { buildRoutesSchemas } from './parser';
import { moduleOptionStore } from './stores';

// Cache to avoid over-logging
let hasLoggedNoPages = false;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { DestructuredPath } from '../../../../parser/pathControl';
import type { RoutePathsDecl } from '../../../../../types';
import { camelCase, startCase } from 'lodash-es';
import { returnIfTrue } from '../../../../../../src/utils';
import { moduleOptionStore } from '$$/core/stores';
import { camelCase, capitalize, startCase } from 'lodash-es';
import type { RoutePathsDecl } from '../../../../../types';
import type { DestructuredPath } from '../../../../parser/pathControl';
import { moduleOptionStore } from '../../../../stores';

function pascalCase(str?: string) {
return startCase(camelCase(str)).replace(/ /g, '');
Expand Down
2 changes: 1 addition & 1 deletion src/core/output/generators/files/index.file.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { returnIfTrue } from '../../../../utils';
import { moduleOptionStore } from '$$/core/stores';
import { returnIfTrue } from '../../../../utils';

export function createIndexFile(): string {
const { i18n, i18nOptions, pathCheck } = moduleOptionStore;
Expand Down

0 comments on commit f18f2a8

Please sign in to comment.