Skip to content

vrijraj/vue-todo-localstorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a ToDo App with Vue 3 and localStorage

In this codelab, we'll build a modern, interactive Todo application using Vue 3's Composition API and local storage for data persistence. The app features a clean, user-friendly interface where users can add, complete, and delete tasks, with tasks automatically saving to the browser's localStorage. We'll implement filtering capabilities to view all, active, or completed tasks, and style everything using CSS variables for consistent theming.

Vue todo codelab

Codelab: Click here

What you'll build

  1. A fully functional ToDo app
  2. Data persistence using localStorage
  3. CRUD operations for tasks
  4. Task filtering and sorting

What you'll learn

  1. Vue 3 Composition API fundamentals
  2. Component state management
  3. Local data persistence techniques
  4. Computed properties and watchers
  5. Form handling in Vue
  6. Component styling with scoped CSS
  7. Event handling and list rendering
  8. Basic performance optimization

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

About

ToDo App with Vue 3 and localStorage

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors