如何使用less设置Semantic-UI

时间:2015-07-22 16:14:19

标签: less themes semantic-ui

如何设置语义Ui,以便我可以开始使用它?

1 个答案:

答案 0 :(得分:1)

如果你友好地使用凉亭,你需要运行的是以下命令

public ActionResult Index()
{
    var evalVM = new Evaluation();

    var q1 = new Question { ID = 1, QuestionText = "What is your favouritelanguage" };
    q1.Answers.Add(new Answer { ID = 12, AnswerText = "PHP" });
    q1.Answers.Add(new Answer { ID = 13, AnswerText = "ASP.NET" });
    q1.Answers.Add(new Answer { ID = 14, AnswerText = "Java" });
    evalVM.Questions.Add(q1);

    var q2 = new Question { ID = 2, QuestionText = "What is your favourite DB" };
    q2.Answers.Add(new Answer { ID = 16, AnswerText = "SQL Server" });
    q2.Answers.Add(new Answer { ID = 17, AnswerText = "MySQL" });
    q2.Answers.Add(new Answer { ID = 18, AnswerText = "Oracle" });
    evalVM.Questions.Add(q2);

    return View(evalVM);    
}       

它将使用分发和源包将语义包装下载到bower_components中。

在此处阅读有关凉亭的更多信息http://bower.io/

由于其中使用的构建工具是gulp,http://gulpjs.com/