Source for my website, built in Vue.js using Nuxt.js v3. If you'd like to use this as a base for your site, it should be OK, but get in touch with me first!
Navigate to the root directory and run npm install
to get the packages, then run npm run dev
to start the server.
You can set the following environment variables to set the port and the hostname:
HOST
- The host the server will listen on. Defaults tolocalhost
.PORT
- The port the server will listen on. Defaults to8000
.
To deploy for production, run npm run build
to build the site, then you can deploy that through a node web server via node .output/server/index.mjs
. Check the nuxt docs for more deployment options, etc.
© William278, 2022. All rights reserved.