-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: APPS-2411 Add home page #760
Conversation
…ake gragphQL queries to craft
Percy ScreenshotsIn order to conserve our percy screenshot allowance, percy is not configured to run automatically. Please make sure the PR is ready and all other checks are passing, then start it manually: 1. Visit https://github.com/UCLALibrary/library-website-nuxt/actions/workflows/percy.yml 2. Click the 'Run workflow' button in the blue bar. 3. Select the correct branch for this PR and click 'Run workflow' again to confirm. |
Merge branch 'APPS-2411' of https://github.com/UCLALibrary/library-website-nuxt into APPS-2411
…escript, disable some rules and remove antfu eslint packages
…nc await in server nitro plugin
…static site and updated the alpha component library version
…o storage in these files to set and get
…e prerender as listing pages are not complete, also finished moving library alert on client side in client plugin
Connected to APPS-2411
Page/Pages Created/updated:
pages/index.vue
pages/about/reports/index.vue
pages/impact/[year]/[slug].vue
pages/impact/[year]/index.vue
pages/impact/all.vue
Documented here:
Nuxt3 setup commit walk thru 1: https://youtu.be/jgpZEDLEt68?si=Extq7FbD9wiKf8OQ
Nuxt3 setup commit walk thru 2: https://youtu.be/McZd2vCmSAw?si=7bemksB_2yTjw-5i
Notes:
Add flexibleblocks to these pages once added to the vue3 component library
Elastic search is not integrated yet with plugins.
Replaced Apollo GraphQL client with nuxt-graphql-request, this is what we used in nuxt2 and is now nuxt3 compatible.
Using nuxt3 nitro server plugin to fetch global craft data for header and footer data.
Will move global notification alert data to default.vue later so it works on the client side and we will not have to regenerate the static site when editors add alerts to craft
Replaced antfu-eslint to nuxt-eslint-config and its typescript plugin for no-undef errors whenusing nuxt magic autoimports.
Will add typescript in later.
Checklist: