Relative Content

Tag Archive for typescriptvue.js

How do I setup a vue slot type as a simple string not a component

I want to be able to pass a string as a slot into a vue component. Define on the vue component that the slot is supposed to be a string and then use that string both in the template and in the script tags. There is a defineSlots function in the docs but every single example just keeps showing how to use it with objects like this