Justineo / vue-awesome

Awesome SVG icon component for Vue.js, built-in with Font Awesome icons.

Home Page:https://justineo.github.io/vue-awesome/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uncaught TypeError: t is not a function

brianecook opened this issue · comments

Hello, I am getting the following error when setting up vue-awesome:

Uncaught TypeError: t is not a function Uncaught TypeError: t is not a function
    render webpack://shopify-starter/./node_modules/vue-awesome/components/Icon.js?:5

with corresponds with this bit in the source code:

(function(i,e){return t("path",{attrs:i,key:"path-"+e})})

Here is my webpack config:

module: {
    rules: [
      {
        test: /\.vue$/,
        loader: 'vue-loader',
      },
      {
        test: /\.js$/,
        use: {
          loader: 'babel-loader',
        },
        include: [path.resolve(__dirname, 'node_modules/vue-awesome')],
        exclude: /node_modules/,
      },
    ],
  },

Thanks for any help you can provide!