vue-js-grid icon indicating copy to clipboard operation
vue-js-grid copied to clipboard

Is it possible to use this as script distribution?

Open sreecodeslayer opened this issue 6 years ago • 0 comments

Tried doing it by changing the webpack build conf as below:

module.exports = {
  entry: './src/index.js',
  output: {
    path: path.resolve(__dirname, './dist'),
    publicPath: '/dist/',
    filename: 'vue-js-grid.js',
    library:'VueJsGrid',
    libraryTarget: 'umd',
    umdNamedDefine: true
  }

but the component is not registered. [Vue warn]: Unknown custom element: <grid> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

Is there anyway to do this correctly

sreecodeslayer avatar Mar 13 '18 06:03 sreecodeslayer