vuestic-ui icon indicating copy to clipboard operation
vuestic-ui copied to clipboard

Use script setup in examples

Open asvae opened this issue 2 years ago • 3 comments

Vuestic-ui version: 1.5.3

Why: makes them prettier

How important - not too much, but also pretty good long term.

setup+ / standard / TypeScript

asvae avatar Dec 15 '22 10:12 asvae

@m0ksem maybe you think we don't need to use script setup in examples and instead use options api or composition api on top of options api.

asvae avatar Dec 15 '22 10:12 asvae

@asvae what about some script section switch to show options api or composition api example? Would be a good thing for vue newcomers who want to see a completed example for particular api choice.

kushich avatar Feb 08 '23 08:02 kushich

We can have both Composition API and Options API example, just need to tweak page-config compiler...

m0ksem avatar Feb 22 '23 21:02 m0ksem