aceade / cdz-vue-site

A practice project to teach myself Vue, based on a scifi series I'm working on
MIT License
0 stars 0 forks source link
practice-project vuejs

cdz-vue-site

A practice project to teach myself Vue, based on a scifi series I'm working on. This provides a static site with various pages which are built and deployed via GitHub Actions.

Pages

Common elements

Vue is based around the concept of defining Single File Components. This allows developers to split the user interface into independent, reusable pieces (much like server-side includes). This repo currently uses the following:

Third-party components/sources

Running locally

There are a few ways to run this:

Server deployment

This uses the GitHub Pages action posted here to build the site using Vite and then deploy from a separate branch (gh-pages). This does not happen on main due to branch protection rules.

The file that configures this is .github/workflows/node.js.yml.

Styling

A lot of this uses the default styling in Vue. Aside from that, the Bunchló Gael font is used to provide a suitably Irish look for this.

Licence

All code here is under the MIT licence. Third-party components as listed above may be under different licences.