Closed raskolnikoov closed 6 years ago
I can't seem to load the plugin when using webpack as my app-bundler.
These are my configs:
webpack.config.js
module.exports = { entry: { 'aurelia': ['aurelia-bootstrapper', 'au-table'] } }....
main.js aurelia.use.plugin(PLATFORM.moduleName('au-table'));
aurelia.use.plugin(PLATFORM.moduleName('au-table'));
The error I get upon app-startup
Error: Unable to find module with ID: au-table/au-table at WebpackLoader. (http://localhost:3000/app.js:11943:35) at step (http://localhost:3000/app.js:11792:23) at Object.next (http://localhost:3000/app.js:11773:53) at http://localhost:3000/app.js:11767:71 at webpackJsonp.464.__awaiter (http://localhost:3000/app.js:11763:12) at WebpackLoader.webpackJsonp.464.WebpackLoader._import (http://localhost:3000/app.js:11908:16) at WebpackLoader. (http://localhost:3000/app.js:12008:44) at step (http://localhost:3000/app.js:11792:23) at Object.next (http://localhost:3000/app.js:11773:53) at http://localhost:3000/app.js:11767:71
Using webpack@3.3.0 and latest aurelia version.
Nice! When will a new npm be available? :)
Now :)
Thanks! Works great! :)
I can't seem to load the plugin when using webpack as my app-bundler.
These are my configs:
webpack.config.js
main.js
aurelia.use.plugin(PLATFORM.moduleName('au-table'));
The error I get upon app-startup
Using webpack@3.3.0 and latest aurelia version.