API Reference
ગ્લોબલ API
એપ્લિકેશન
- createApp()
- createSSRApp()
- app.mount()
- app.unmount()
- app.onUnmount()
- app.component()
- app.directive()
- app.use()
- app.mixin()
- app.provide()
- app.runWithContext()
- app.version
- app.config
- app.config.errorHandler
- app.config.warnHandler
- app.config.performance
- app.config.compilerOptions
- app.config.globalProperties
- app.config.optionMergeStrategies
- app.config.idPrefix
- app.config.throwUnhandledErrorInProduction
Composition API
રિએક્ટિવિટી: કોર
રિએક્ટિવિટી: યુટિલિટીઝ
રિએક્ટિવિટી: એડવાન્સ્ડ
લાઇફસાઇકલ હૂક્સ
ડિપેન્ડન્સી ઇન્જેક્શન
Options API
Options: રેન્ડરિંગ
Options: લાઇફસાઇકલ
Options: મિશ્રિત
બિલ્ટ-ઇન્સ
સિંગલ-ફાઇલ કમ્પોનન્ટ
સિન્ટેક્સ સ્પષ્ટીકરણ
<script setup>
- મૂળભૂત સિન્ટેક્સ (Basic Syntax)
- રિએક્ટિવિટી (Reactivity)
- ઘટકોનો ઉપયોગ કરવો (Using Components)
- કસ્ટમ ડાયરેક્ટિવ્સનો ઉપયોગ કરવો (Using Custom Directives)
- defineProps() & defineEmits()
- defineModel()
- defineExpose()
- defineOptions()
- defineSlots()
- useSlots() & useAttrs()
- સામાન્ય <script> ની સાથે ઉપયોગ
- ટોપ-લેવલ await
- ઇમ્પોર્ટ સ્ટેટમેન્ટ્સ (Import Statements)
- જેનરિક્સ (Generics)
- મર્યાદાઓ (Restrictions)