Skip to content

Commit

Permalink
fix: sw 2 vue-demi, omg
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjiaxuan committed May 6, 2023
1 parent df954ad commit 62caf97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/NumberRoll.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { computed, onMounted, ref, watch } from 'vue'
import { computed, onMounted, ref, watch } from 'vue-demi'
const props = defineProps({
start: {
Expand Down
4 changes: 2 additions & 2 deletions vite.config.lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export default mergeConfig(base, {
name: 'NumberRoll',
},
rollupOptions: {
external: [ 'vue', 'vue-demi' ],
output: { globals: { vue: 'Vue' } },
external: [ 'vue-demi' ],
output: { globals: { vueDemo: 'vue-demi' } },
},
},
plugins: [
Expand Down

0 comments on commit 62caf97

Please sign in to comment.