google / web-starter-kit

Web Starter Kit - a workflow for multi-device websites
http://developers.google.com/web/starter-kit
Apache License 2.0
18.43k stars 3.02k forks source link

Import from NPM/Bower #895

Open myurtsev opened 7 years ago

myurtsev commented 7 years ago

How do I import/use a package from node_modules or bower_components? I can't import in main.scss for example.

jobizzness commented 7 years ago

same issue. cannot really import scripts on using gulp serve. All moves to .tmp/scripts but 404 when page loads.

donportugal commented 7 years ago

@myurtsev

No further changes are required in app/index.html

sudheerDev commented 7 years ago

@donportugal that didn't work it kept looking for the path - http://localhost:3000/node_modules/bootstrap/dist/css/bootstrap.css