문제

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