-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
š fix(vue-html-to-paper.js, index.js): change install function parameā¦
ā¦ter from Vue to app The install function parameter has been changed from Vue to app to improve consistency with the naming conventions. This change ensures that the function is more descriptive and easier to understand. š chore(index.html): upgrade Vue.js to version 3 The Vue.js library has been upgraded to version 3, which provides better performance and new features. The script tag for Vue.js has been updated to use the unpkg.com CDN. The VueHtmlToPaper plugin is now imported using the ES6 module syntax. The Vue instance is now created using the createApp function instead of the Vue constructor. The print and printLandscape methods have been updated to use the this keyword instead of the vm variable. š fix(index.html): change method declarations to arrow functions The methods in the Vue component were declared using function expressions instead of arrow functions. This commit changes the method declarations to arrow functions to improve consistency and readability. šØ refactor(index.js): change Vue to app in install function The install function now uses app instead of Vue to improve consistency with the naming conventions. This change does not affect the functionality of the code.
- Loading branch information
1 parent
c314703
commit 2941250
Showing
4 changed files
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters