Skip to content

Theme-Fusion/avada-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Avada Vue Introduction

This repo is for a simple plugin which offers a starting point to vue development.

Install

  • Download repo as zip or pull using a client
  • Install as a WordPress plugin on a WordPress install
  • Run npm install on the avada-vue plugin folder
  • Run npm run build or npm run watch to build the vue App.
  • To view, go to the Avada Vue page on your WordPress admin.

image

Description

The app is very basic, with the same general tooling as we use in Avada. Primarily those are:

The app consists of a single simple data object in the store (text, padding, background color, text color) and a Preview component which is fed that data from the store. Under that are some dummy text fields which do nothing.

The Task

  • The task is to make the fields functional.
  • Each should be passed the appropriate param from the store data.
  • When the input value is changed it should update the store and therefore update the preview.
  • For the color options, please import and use an existing online color picker component for vue. It can be any online color picker.
  • The file to edit is src/App.vue.