Skip to content

Commit

Permalink
trying to use element plus components
Browse files Browse the repository at this point in the history
  • Loading branch information
egauzens committed Nov 16, 2023
1 parent 64f7426 commit 35f98ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sparc-design-system-components-2",
"version": "0.0.11",
"version": "0.0.12",
"private": false,
"scripts": {
"dev": "vite",
Expand Down
4 changes: 0 additions & 4 deletions src/components/SparcLogo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
</template>

<script>
import HelpIcon from './icons/Help.vue'
export default {
name: 'SparcLogo',
components: {
HelpIcon
},
props: {
type: {
type: String,
Expand Down
2 changes: 2 additions & 0 deletions src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import SparcLogo from './SparcLogo.vue';
import LargeModal from './LargeModal.vue'
import SparcTooltip from './SparcTooltip.vue'
import SparcRadio from './SparcRadio.vue';
import ElementPlus from 'element-plus'

export default {
install(app) {
app.use(ElementPlus)
app.component('SparcLogo', SparcLogo);
app.component('LargeModal', LargeModal);
app.component('SparcTooltip', SparcTooltip);
Expand Down

0 comments on commit 35f98ba

Please sign in to comment.