Website for the Luwt café in Leeuwarden.
The root directory of this website is dist/
, which is the directory your web server must point to.
To make changes, modify the .vue
files in pages/
, layouts/
(reused templates) or components/
(small page elements). Photos and other images can be added to the static/img/
directory.
The Luwt website uses Nuxt.js as a static site generator for Vue, which must be run to build and publish the changes.
To run Nuxt:
- Install Node.js v8.16.0 or later (for Linux, use nvm; for Windows, use the installer).
- Install the necessary dependencies by running
npm install
inside the Luwt directory. - After making the changes, rebuild the Luwt website by running
npm run generate
.
If you are making multiple changes, you can utilize npm run dev
. This will run a temporary web server and give you an address at which you can view your updates live.
This server is not suitable for production and should not be used as permanent hosting. You must still run npm run generate
to publish the changes to the main website.