Skip to content

Conversation

Carifio24
Copy link
Member

@Carifio24 Carifio24 commented Apr 17, 2024

This PR updates the template to use the Vue's Composition API, building off of the changes in cosmicds/vue-toolkit#6. As a result of those changes, the main component is now no longer built as a class - we're now using a <script setup> tag. This also serves as an example for how to write a component in the Composition API style. The template is simple and doesn't have any watchers, but it does give examples of reactive data, computed properties, a mounted hook, and some use of composables.

@Carifio24 Carifio24 marked this pull request as draft April 17, 2024 15:24
@Carifio24
Copy link
Member Author

Just a note that CI will fail until we actually publish the needed toolkit update.

@Carifio24 Carifio24 marked this pull request as ready for review April 23, 2024 20:05
@Carifio24 Carifio24 merged commit 3651552 into cosmicds:main Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant