Skip to content

Import bootstrap js components #313

Open
@dallasbeek

Description

@dallasbeek

Looking to compile in the required bootstrap js components into the scripts but not having luck. I want ScrollSpy (only component I intend to use)

import {ScrollSpy} from 'bootstrap' // probably in script.js

remove from index.pug
script(src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js')

Got any suggestions on how that can be done? Do I need to replace fs in render-scripts? Any advice appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions