ColdBox Elixir
v1.x
v1.x
  • Introduction
  • Changelog
  • Migration Guide
  • Installation
  • Running Elixir
  • Configuration Options
  • Working With Stylesheets
  • Working With Scripts
  • Versioning Cache Busting
  • Mixing in tasks from ColdBox Modules
  • ContentBox Integration
  • Copying Files & Directories
  • Deleting Files & Directories
  • BrowserSync
  • Vue.js Integration
  • Writing Elixir Extensions
Powered by GitBook
On this page
  • Installing Node
  • Installing ColdBox Elixir
Edit on Git

Installation

PreviousMigration GuideNextRunning Elixir

Last updated 2 years ago

Installing Node

Before triggering Elixir, you must first ensure that is installed on your machine. You will want at least the latest LTS version of Node.

node -v

Installing ColdBox Elixir

If you generate a ColdBox application using any of our then you will find a package.json file in the root of the application already. Think of this like your box.json file, except it defines Node dependencies instead of ColdFusion (CFML) dependencies. A typical example can look like this:

{
  "private": true,
  "devDependencies": {
    "coldbox-elixir": "^4.0.1"
  }
}

It defines ColdBox Elixir as a dev dependency. You may then install the dependencies it references by running:

npm install

This will install ColdBox Elixir and its dependencies into the node_modules folder in your root. This folder has been already added to the .gitignore file as well, so no need to further ignore it.

Node.js
elixir templates