Skip to content

joedag32/areas-of-study-app

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

areas-of-study-app

Vue2 App to filter school Areas of Study/Degrees/Programs from a JSON source.

JSON format

The expected JSON format is:

{
  "1": {
    "school":"School of Arts & Humanities",
    "title":"Studies in the Arts, BA",
    "tags":"dance music",
    "type":"Undergraduate",
    "link":"/arts-humanities/academic-programs.html"
   },
  "2": {
    "school":"School of Business",
    "title":"Minor in Computer Information Systems",
    "tags":"database",
    "type":"Minor",
    "link":"/business/computer-information-systems.html"
   }...
}

Please update sample-02.json to your json source in areas-of-study.js

Scripts and Dependencies

Please replace the vue.js include with the production link if you're using the CDN. This example is using the development version for error checking.

https://vuejs.org/v2/guide/installation.html

The messageChange method is used to send an Event to Google Analytics. Please comment out if you are not using Google Analytics or are testing locally.

messageChange: function (event) {
    // send event to Google Analytics, remove if you do not wish to track
    if (this.message.length > 4) {
        gtag('event', 'keyword', { 
            'event_category': 'areas_of_study_app', 
            'event_label': this.message
        });
    }
}

Styling and CSS

None of the CSS is index.html is required. Please edit for whatever works best for your layout/design.

About

Vue2 App to filter school Areas of Study/Degrees/Programs from a JSON source.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published