Installation
Lucia is intentionally made to support multiple forms of installation, giving the developer the freedom to use Lucia in their build processes.
There are two supported ways to install Lucia:
Version
Latest version:
Expanded releases and commits are available on the GitHub.
CDN
Lucia is currently is installable through a CDN and also supports UMD (Node, Browser, Isomorphic/Universal). Put this within your <head>
tags in HTML.
Generally if you're going to be using Lucia long term you should specify a specific version number as to not inherit breaking changes unknowingly.
npm
Another option is installing via if you are using a module bundler such as Webpack, Rollup, or Parcel. It's currently the recommended installation method when building large scale applications.