Skip to content

Commit

Permalink
Merge pull request #49 from laravel-enso/hotfix/routeSegements
Browse files Browse the repository at this point in the history
fixes route segment generation
  • Loading branch information
vmcvlad committed Nov 19, 2020
2 parents a7e1eb3 + 9e4d104 commit 49c0280
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Services/Writers/stubs/routes/parentSegment.stub
@@ -1,7 +1,7 @@
import routeImporter from '@core/modules/importers/routeImporter';
import routeImporter from '@ui/modules/importers/routeImporter';

const routes = routeImporter(require.context('./${segment}', false, /.*\.js$/));
const RouterView = () => import('@core/bulma/pages/Router.vue');
const RouterView = () => import('@ui/bulma/pages/Router.vue');

export default {
path: '${relativePath}',
Expand Down
4 changes: 2 additions & 2 deletions src/Services/Writers/stubs/routes/segment.stub
@@ -1,7 +1,7 @@
import routeImporter from '@core/modules/importers/routeImporter';
import routeImporter from '@ui/modules/importers/routeImporter';

const routes = routeImporter(require.context('./${segment}', false, /.*\.js$/));
const RouterView = () => import('@core/bulma/pages/Router.vue');
const RouterView = () => import('@ui/bulma/pages/Router.vue');

export default {
path: '${relativePath}',
Expand Down

0 comments on commit 49c0280

Please sign in to comment.