1.0.17 • Published 1 year ago
@svelte-add/bootstrap v1.0.17
Bootstrap
This is a adder for svelte-add and is used to add Bootstrap to your svelte/kit project.
You can find all options for this adder on this site. We will only provide a short breakdown of the adder features here.
Basic usage
npx @svelte-add/bootstrap@latestIn case you already have a directory in mind, you can use this:
npx @svelte-add/bootstrap@latest --path ./your-projectAvailable options (adder-specific)
useSass(default: false) - Do you want to use sass? (css = faster, sass = better customization)addJavaScript(default: false) - Do you want to add JavaScript (required for some components like dropdowns)?
Option syntax
npx @svelte-add/bootstrap@latest --key valueSpecific example
npx @svelte-add/bootstrap@latest --useSass falseYou can combine as many options as you want. The usage of options is optional. If you don't specify an option value via the command line, the CLI will ask you the questions interactively.
Available options (common)
default(default: false) - Installs default adder options for unspecified optionspath(default: ./) - Path to working directoryskip-preconditions(default: false) - Skips validating preconditions before running the adderskip-install(default: false) - Skips installing dependencies after applying the adder
Option syntax
npx @svelte-add/bootstrap@latest --key valueSpecific example
npx @svelte-add/bootstrap@latest --path ./You can combine as many options as you want. The usage of options is optional. If you don't specify an option value via the command line, the CLI will ask you the questions interactively.