How to use nuxt.js? in existing vue spa projects

is using nuxt.js for a completed spa project a complete refactoring of the project?

Mar.29,2021

basically needs to be refactored, because a framework for framework, is relatively low-level;
Nuxt.js has its own set of rules and conventions, which results in substantial adjustments to the directory structure, routing and data loading strategy of the original Vue.js project.
if there are few pages that need to be SSR, and the real-time requirements of the page content are low, you may not necessarily need to adopt this solution, you can consider the pre-rendering plug-in of Vue.js ;
can also refer to official Vue HackerNews 2.0 project to implement Vue.js native SSR , which makes it more controllable, much less intrusive to existing projects, and obviously less refactoring effort

.

reference:

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e072-2bc33.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e072-2bc33.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?