Exolite is a Vite template used to bootstrap new Sesimi templates.
npx degit myadbox/exolite my-template
cd
in to the directory in which you store templates on your computer.- Type the following, replacing
my-template
with the name you wish to use for your new template directory.npx degit myadbox/exolite my-template
- The first time you use this tool, you will be asked to agree to install the
degit
package globally. Hity
to agree. - You now have your own project folder based on a copy of Exolite. The src/ folder is solely for your actual Sesimi template files.
- Run
npm run setup
to download dependency node_modules and run Vite's development environment. A browser window will open showing the contents of src/index.jsx and will automatically update the preview as you edit template files in the src/ directory. - Edit src/index.jsx to create your template. Edit styling via src/index.css, edit animation via src/index.js, if required.