Skip to content

nikimol/jquery-to-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery to Vue2

A test of converting a template HTML invoice from jQuery to Vue2

What I found

In its simplest form, jQuery manipulates the DOM. The initial 3 order lines are hard-coded (they could have been introduced via an array or JSON file) but the in-built functionality of Vue organically provides the structure to enable cleaner code, allowing for a more modular approach.

jQuery JS Code

jQuery JS Code

Vue2 JS Code

Vue2 JS Code

About

Changing an HTML invoice from jQuery to Vue2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published