Skip to content

Instantly share code, notes, and snippets.

@DanielSmith
Last active May 13, 2021 20:46
Show Gist options
  • Save DanielSmith/db6d203ca75c7a2bbf6cd3dc2dd6129b to your computer and use it in GitHub Desktop.
Save DanielSmith/db6d203ca75c7a2bbf6cd3dc2dd6129b to your computer and use it in GitHub Desktop.
dls.md

does this

wordkl

import "./style.css";
// our config object - in a dynamic project you would fetch
// JSON from a server, and convert to an object...
import { alapConfig } from "./Config.js";

// our lib, locally...
// import Alap from "../../src/index.js";

// ...or, if you are using npm, this would be:
import Alap from "alap";

// pass the config object
const alap = new Alap(alapConfig);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment