Skip to content

This project is a demo for vue2 to vue3 migration tool vue-codemod.

Notifications You must be signed in to change notification settings

originjs/codemod-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codemod-demo

This project is a demo for vue2 to vue3 migration tool vue-codemod. Currently it is in vue2 and we can transform it to vue3 by vue-codemod.

Project setup in Vue2

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Codemod transformation

npm install @originjs/vue-codemod -g
npx vue-codemod -a src

Project setup in Vue3

npm install 
npm run serve

Just run 'npm install' again and you can run this project in vue3.

Enjoy!

About

This project is a demo for vue2 to vue3 migration tool vue-codemod.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published