سؤال

I just installed lineman and cloned the ember template from below URL.

https://github.com/linemanjs/lineman-ember-template

Then just added bootstrap css on the pages/index.us file

<link rel="stylesheet" type="text/css" href="css/bootstrap.css" media="all" />

I am getting 404 error on bootstrap.css, file is there in app/css/bootstrap.css file but I couldn't able to find the same file in generated folder.

Any one can help on this.

هل كانت مفيدة؟

المحلول 2

By default lineman concatenates the following:

app/css/**/*.css 

&

vendor/css/**/*.css

to:

generated/css/app.css

So technically you should only have to include the generated/css/app.css in your html and Bootstrap should be included.

I'd recommend adding Bootstrap into the vendor/css folder.

نصائح أخرى

Just run:

yourProject>lineman fetch bootstrap
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top