Deploy
IIS
Deploy your Nuxt Application to IIS infrastructure.
Using IISnode
- Install the latest LTS version of Node.js on your Windows Server.
- Install IISnode
- Install IIS
URLRewrite
Module. - In IIS, add
.mjs
as 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
.output
folder to your website in IIS.