vue-simple-card-game
v1.0.2
Published
simple cards game library, only for use in vue3 project
Downloads
3
Readme
simple cards game library, only for use in vue3 project
install
npm install simple-cards
config in your vue3 app
we may use vite to generate vue project. in main.js file, we may change as bleow:
import VueSimpleCardGame from 'vue-simple-card-game'
import 'vue-simple-card-game/dist/style.css'
const app = createApp(App)
app.use(VueSimpleCardGame)
app.mount('#app')
in App.vue
file, we may change as bleow:
<script setup>
</script>
<template>
<VueSimpleCardGame/>
</template>
<style scoped>
</style>