How to include in .angular-cli.json
heartmon opened this issue · 2 comments
heartmon commented
I have include the script in .angular-cli.json file:
... "scripts": [ "../node_modules/angular2-lightbox/index.js" ],
It works, however with an error 'Uncaught SyntaxError: Unexpected token export' in the browser console.
How should I use it correctly with .angular-cli.json?
themyth92 commented
I dont think you need to put any content in scripts
attribute. Just include lightbox directly in your module. Demo
themyth92 commented
Closed. Feel free to open if u have any issues.