Develop locally
Develop locally
This is for:
DeveloperQubit CLI comes with a built in local previewing server.
This allows you to develop your Placements and experiences locally with instant hot reloading and fast feedback on your changes.
Here’s how you can make use of the cli’s built in preview server
Step 1
Install Qubit CLI
and the associated chrome extension.
Step 2
From your experience or Placement folder, run
$ qubit
Step 3
Open Chrome and select the Chrome extension icon. The icon should go from grey to yellow, which means it’s working.
Step 4
Add the following to your placement.css
file:
body {
background: yellow !important;
}
The page background should turn yellow!