Fix import useToast in Composition API example.
parent
f5434c89a5
commit
f9b3fe0fd0
|
@ -51,7 +51,7 @@ export default {
|
|||
<pre v-code.script>
|
||||
<code>
|
||||
import { defineComponent } from "vue";
|
||||
import { useToast } from "primevue/useToast";
|
||||
import { useToast } from "primevue/usetoast";
|
||||
|
||||
export default defineComponent({
|
||||
setup() {
|
||||
|
@ -355,4 +355,4 @@ export default {
|
|||
</TabPanel>
|
||||
</TabView>
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue