bcgov / bcgov/entity

COOPS-UI: should use runtime-only build

Open
#4,738 0 comments 0 reactions 0 assignees View on GitHub
ENTITY - DO NOT USE Priority2
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

## Description:
The coops-ui web app uses the Vue compiler build. However, using the Vue runtime-only build, which is roughly 30% lighter-weight, would save program data needed to run the app and therefore load times.

Ref: https://vuejs.org/v2/guide/installation.html#Runtime-Compiler-vs-Runtime-only

**Dependencies**
None.

**Acceptance Criteria**
The web app must continue to load normally.
The load performance (as measured by Chrome Lighthouse audit) should show an improvement.

**Validation Rules**
None.

Ready to Build (DoR):
- [ ] Stakeholders have approved
- [ ] User story completed
- [ ] What are the dependencies
- [ ] Validation rules defined (UI, Data, Role-Action)
- [ ] Is a formal UAT required

Acceptance / DoD:
- [ ] Design / Solution accepted by Product Owner
- [ ] Acceptance criteria has been defined (happy path, known sad paths)
- [ ] Test coverage acceptable
- [ ] Peer Reviewed
- [ ] Accessibility reviewed and acceptable [checklist](https://github.com/bcgov/entity/docs/coding-standards/accessibility.md)
- [ ] UX Approved
- [ ] PR Accepted
- [ ] Production burn in completed

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the coops-ui build configuration and identifying where the Vue compiler build is selected. Run a Chrome Lighthouse audit before changing the build, then switch to the runtime-only build and verify that the web app still loads normally and that load performance improves.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, performance, web-dev
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.