GithubHelp home page GithubHelp logo

vuetodo's Introduction

vuetodo

This is the Vue Crash Course (TodoList)

This is the code for the crash course on YouTube

I completed this tutorial after reading the vue documentation to get a deeper understanding of how vue.js works. I have learnt alot from the tutorial, but wish the tutorial had broken down the methodologies more to further understand how it was conceptually constructed. It may have been better to start with normal HTML scaffolding completed and then introduce what we trying achieve by introducing things logically.

For example here's how the we want the front-end to look like in pure HTML + CSS.

Okay now how can we use VUE to improve this.

What components do we need? To make the same html structure?

Okay let's implement javascript portion of the app

Why do we add export default? (could be explained better) What would we do in jquery/Vanilla javascript, how we would do it in vue easily.

Simple things that can be explained with comments and verbally. I would use both verbally and comments to explain why, what and how - Especially for props and methods. Describing what they are doing and achieving. Also explaining the use of captialisation in props, methods and components names.

The one thing that I realised is the babel configuration in the package.json messes with prettier and my configation for formatting and preference for quoting. You might see inconsistent quoting here as the I got fustrated with trying to override the babel.

Another thing that annoyed was the two id="app" in App.vue and Home.Vue, which could've been at least commented on.

Quick Start

# Install dependencies
npm install

# Serve on localhost:8080
npm run serve

# Build for production
npm run build

vuetodo's People

Contributors

srosano avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.