1.0.11 • Published 4 years ago
jstrap-test v1.0.11
jStrap
A simple CSS and Javascript framework. Very much a "work in progress".
Installation:
Svelte:
- Install via npm:
npm install jstrap
- Use with rollup:
npm install rollup-plugin-copy
then edit therollup.config.js
file:
import copy from "rollup-plugin-copy";
copy({
targets: [
{
src: "./node_modules/jstrap-test/css",
dest: "./public/build/jstrap/",
},
{
src: "./node_modules/jstrap-test/js",
dest: "./public/build/jstrap/",
},
],
}),
- Edit
index.html
in thepublic
folder and add these two lines to thehead
tag:
<link rel='stylesheet' href='./build/jstrap/css/core.css'>
<script type="module" defer src='./build/jstrap/js/core.js'></script>