L
L
logosan2015-06-01 21:39:36
ASP.NET
logosan, 2015-06-01 21:39:36

How to connect bundles inside a view?

In the master page, bundles connect without problems, but miracles happen in specific views. If I just type in localhost/About, then the browser will give me only this

.about>p{font-size:18px;margin-top:20px;margin-bottom:20px}figure{text-align:center}figure>figcaption{font-size:20px}

that is, without html code, only part of the CSS, not even all styles are included. But if you specify the action method localhost/About/Index , then everything starts working as it should. In general, I want to ask if it is possible to make everything work on localhost/About too?)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artur Nurullin, 2015-06-15
@Splo1ter

Styles.Render didn't help? It usually generates with reference to bundle styles, and you have something strange =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question