0.0.1
Bootstrap for Deno Fresh.
Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Versions
fresh-bootstrap
Bootstrap for Deno Fresh.
Usage
Simple
// fresh.config.ts
import { defineConfig } from "$fresh/server.ts";
import { bootstrapPlugin } from "https://deno.land/x/fresh_bootstrap/mod.ts";
export default defineConfig({
plugins: [bootstrapPlugin()],
});Custom
// fresh.config.ts
import { defineConfig } from "$fresh/server.ts";
import { bootstrapPlugin } from "https://deno.land/x/fresh_bootstrap/mod.ts";
const freshBootstrapOptions: BootstrapOptions = {
tooltip: true,
popover: true,
alert: true,
collapse: true,
toast: true,
toastOptions: {
animation: true,
autohide: true,
delay: 5000,
},
};
export default defineConfig({
plugins: [bootstrapPlugin(freshBootstrapOptions)],
});