@@ -13,7 +13,7 @@ code reusability and maintainability.
1313
1414``` vue
1515<script setup lang="ts">
16- import { styled } from '@vue-styled-components/core'
16+ import { styled } from '@vvibe/ vue-styled-components';
1717
1818const BlueButton = styled.button`
1919 width: 120px;
@@ -24,11 +24,11 @@ const BlueButton = styled.button`
2424 box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
2525 background-color: skyblue;
2626 font-weight: bold;
27- `
27+ `;
2828const RedButton = styled(BlueButton)`
2929 background-color: darkred;
3030 color: white;
31- `
31+ `;
3232</script>
3333
3434<template>
@@ -52,7 +52,7 @@ For more advanced use cases, you can pass the `as` props to the styled component
5252
5353``` vue
5454<script setup lang="ts">
55- import { styled } from '@vue-styled-components/core'
55+ import { styled } from '@vvibe/ vue-styled-components';
5656
5757const BlueButton = styled.button`
5858 width: 120px;
@@ -63,15 +63,16 @@ const BlueButton = styled.button`
6363 box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
6464 background-color: skyblue;
6565 font-weight: bold;
66- `
66+ `;
6767const RedButton = styled(BlueButton)`
6868 background-color: darkred;
6969 color: white;
70- `
70+ `;
7171const LinkButton = styled(BlueButton)`
7272 border: none;
73- color: blue;
74- `
73+ background-color: transparent;
74+ box-shadow: none;
75+ `;
7576</script>
7677
7778<template>
0 commit comments