[Vuejs]-Nuxt typescript building and transpile project for deployment

0👍

First, nuxt-ts isn’t mandatory. It’s only useful for .ts files not compiled by webpack (typically the nuxt.config.ts). If you have nuxt.config.js in vanilla javascript, you can stay with the standard nuxt binary (no the nuxt-ts).
But you can keep it if you want. I’m just saying it’s not mandatory for nuxt in Typescript.


That say, run nuxt build, and it will bundle everything you need for production inside .nuxt folder.

All you have to do then is publish this folder, and run nuxt start to run the production server 🙂

Leave a comment