Skip to content

Commit

Permalink
adjusts
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Sep 12, 2023
1 parent 13f0c38 commit b4baba5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import {
inject,
onMounted,
watch,
ComputedRef,
type ComputedRef,
<%_ } _%>
} from 'vue';
<%_ if (enableTranslation) { _%>
import { useI18n } from 'vue-i18n';
<%_ } _%>
<%_ if (enableTranslation && applicationTypeMicroservice) { _%>
import TranslationService from '@/locale/translation.service';
import type TranslationService from '@/locale/translation.service';
<%_ } _%>

export default defineComponent({
Expand Down
8 changes: 7 additions & 1 deletion generators/vue/templates/vite.config.ts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ let config = defineConfig({
<%_ if (authenticationTypeOauth2) { _%>
'/oauth2',
'/login/oauth2',
<%_ } _%>
<%_ if (authenticationTypeSession) { _%>
'/login',
<%_ } _%>
<%_ if (applicationTypeGateway || applicationTypeMicroservice) { _%>
'/services',
<%_ } _%>
].map(res => [
res,
Expand Down Expand Up @@ -119,7 +125,7 @@ config = mergeConfig(config, {
<%_ if (applicationTypeMicroservice) { _%>
exposes: {
'./entities-router': './<%= clientSrcDir %>app/router/entities',
'./entities-menu': './<%= clientSrcDir %>app/entities/entities-menu',
'./entities-menu': './<%= clientSrcDir %>app/entities/entities-menu.vue',
},
<%_ } _%>
shared: {
Expand Down

0 comments on commit b4baba5

Please sign in to comment.