Skip to content
This repository was archived by the owner on Oct 2, 2021. It is now read-only.
This repository was archived by the owner on Oct 2, 2021. It is now read-only.

jQuery Plugins #33

@robinsonlam

Description

@robinsonlam

I'm having trouble figuring out how to add libraries that are added to jQuery, for example MaterializeCSS.

This is the error I'm getting:

Uncaught TypeError: $(...).dropdown is not a function

My plugins in my config looks like this:

plugins: [
    new BowerWebpackPlugin(),
    new webpack.ProvidePlugin({
      $: 'jquery',
      Vue: 'vue',
      VueResource: 'vue-resource',
      VueRouter: 'vue-router'
    })
  ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions