vue3-example-hooks-ts
vue3-example-hooks-ts copied to clipboard
Vue 3 Example with Composable Hooks and TypeScript
Vue 3 Composable Hooks with TypeScript
Example project that demonstrates how to use Vue 3 hooks with Composition API - and to compose them. Powered with type safety and TypeScript, this project shows how to compose an API hook and fetch product data in a scalable way.
Getting Started
You can watch this video to learn how to get started with Vue 3 Composable Hooks and Typescript.
Vue 3 Hooks and Type Safety with TypeScript
How it works
Test in:
- Repl.it: https://repl.it/@Modus/vue3-example-hooks-ts
- CodeSandbox: https://codesandbox.io/s/vue3-example-hooks-ts-77ykv
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Customize configuration
Modus Create
Modus Create is a digital product consultancy. We use a distributed team of the best talent in the world to offer a full suite of digital product design-build services; ranging from consumer facing apps, to digital migration, to agile development training, and business transformation.
This project is part of Modus Labs.
Licensing
This project is MIT licensed.
