decoupling-drupal-vuejs/docs/setting-up-vue-js.md
2019-06-06 08:57:53 +01:00

785 B

Setting up the Front-End Vue.js Application

The Vue.js front-end for my Blue Conf 2019 talk - Decoupling Drupal with Vue.js. It is a Vue CLI application, and uses Tailwind CSS for styling.

Prerequisites

Setup instructions

  1. Install the npm dependencies using either npm or yarn.

    cd vuejs
    
    # Using npm
    npm install
    
    # Using yarn
    yarn
    
  2. Change the URL to the Drupal back-end if needed in .env.

  3. Use yarn serve to start a local web server.

  4. Visit the URL (usually http://localhost:8080) to view the front-end application.