Skip to content

Commit

Permalink
fix(cli/create): replace pack
Browse files Browse the repository at this point in the history
  • Loading branch information
BeADre committed Mar 28, 2024
1 parent d8b5432 commit 6bcd910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/varlet-cli/template/create/example/index.vue.ejs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<script setup>
import <%- bigCamelizeNamespace + bigCamelizeName %> from '../index'
import <%- bigCamelizeNamespace + bigCamelizeName %> from '..'
<% if (!locale) { -%>
import { AppType } from '@varlet/cli/client'
<% } -%>
<% if (locale) { -%>
import { watchLang, AppType } from '@varlet/cli/client'
import { use, pack } from './locale'
import { use, t } from './locale'
watchLang(use)
<% } -%>
Expand Down

0 comments on commit 6bcd910

Please sign in to comment.