IIS
IISDeploy your Nuxt Application to IIS infrastructure.
Using IISnode
- Install the latest LTS version of Node.js on your Windows Server.
- Install IISnode
- Install IIS
URLRewriteModule. - In IIS, add
.mjsas a new mime type and set its content type toapplication/javascript. - Build you application with the following command:
Terminal
npx nuxi build --preset=iis_node - Deploy the contents of your
.outputfolder to your website in IIS.