I fail to figure out how to configure ng2-dragula with the system.js seed https://github.com/mgechev/angular2-seed
I understand there is a similar ticket but clearly describing the solution for this widespread seed would be nice I think.
Steps
npm install dragula@3.6.3 ng2-dragula@1.1.0 --save
Then, in a component, when I do
import { Dragula, DragulaService} from 'ng2-dragula/ng2-dragula';
Note the full import path above. Is this correct or incorrect?
How do I configure the seed to load the file from the correct directory?
Certainly I should configure the seed somehow to know where to find the actual ng2-dragula, i.e. somehow refer to directory nodes_modules/ng2-dragula/bundles
I tried such configs in the seed's config.ts file's section DEV_NPM_DEPENDENCIES but didn't find a solution
I fail to figure out how to configure ng2-dragula with the system.js seed https://github.com/mgechev/angular2-seed I understand there is a similar ticket but clearly describing the solution for this widespread seed would be nice I think.
Versions used: npm 3.3.12 node v5.1.0 MacOS 10.11.1 Chrome 48 Visual Studio Code Editor
Steps npm install dragula@3.6.3 ng2-dragula@1.1.0 --save Then, in a component, when I do
import { Dragula, DragulaService} from 'ng2-dragula/ng2-dragula';
Note the full import path above. Is this correct or incorrect?I get a runtime error where the browser tries to load dragula.js from http://localhost:5555/node_modules/dragula.js where obviously, the directory name is missing.
Questions