MCPcopy
hub / github.com/vuejs/composition-api / setup

Function setup

test/apis/useCssModule.spec.js:23–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 },
22 template: '<div>{{style}}</div>',
23 setup() {
24 const style = useCssModule()
25 return { style }
26 },
27 })
28 vm.$mount()
29 expect(vm.style).toBe(style)

Callers

nothing calls this directly

Calls 1

useCssModuleFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…