1.0.11 • Published 5 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-copythen edit therollup.config.jsfile:
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.htmlin thepublicfolder and add these two lines to theheadtag:
<link rel='stylesheet' href='./build/jstrap/css/core.css'>
<script type="module" defer src='./build/jstrap/js/core.js'></script>