Skip to content

Commit 35f98ba

Browse files
committed
trying to use element plus components
1 parent 64f7426 commit 35f98ba

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sparc-design-system-components-2",
3-
"version": "0.0.11",
3+
"version": "0.0.12",
44
"private": false,
55
"scripts": {
66
"dev": "vite",

src/components/SparcLogo.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@
33
</template>
44

55
<script>
6-
import HelpIcon from './icons/Help.vue'
76
export default {
87
name: 'SparcLogo',
9-
components: {
10-
HelpIcon
11-
},
128
props: {
139
type: {
1410
type: String,

src/components/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ import SparcLogo from './SparcLogo.vue';
44
import LargeModal from './LargeModal.vue'
55
import SparcTooltip from './SparcTooltip.vue'
66
import SparcRadio from './SparcRadio.vue';
7+
import ElementPlus from 'element-plus'
78

89
export default {
910
install(app) {
11+
app.use(ElementPlus)
1012
app.component('SparcLogo', SparcLogo);
1113
app.component('LargeModal', LargeModal);
1214
app.component('SparcTooltip', SparcTooltip);

0 commit comments

Comments
 (0)