简体   繁体   English

derby.js客户端脚本以及放置样式表的位置

[英]derby.js client side scripts and where to put stylesheets

I have an application that I have already built the front end for the client side originally in HTML,CSS,JS,and Jquery . 我有一个应用程序,我已经使用HTML,CSS,JS和Jquery最初为客户端构建了前端。 I am now trying to build it with derbyjs but I do not know where to put my custom JS scripts, scripts that I linked to my HTML like jquery and bootstrap, or my CSS files. 我现在正在尝试使用derbyjs构建它,但是我不知道将自定义JS脚本,我链接到HTML的脚本(如jquery和bootstrap)或CSS文件放在哪里。

Please see derby file structure documentation http://derbyjs.com/#file_structure 请参阅derby文件结构文档http://derbyjs.com/#file_structure

Derby include your css files automaticly, but you have to convert them into .styl see http://derbyjs.com/#stylesheets or use @import statment see http://learnboost.github.io/stylus/docs/import.html Derby自动包含您的css文件,但是您必须将它们转换为.styl,请参见http://derbyjs.com/#stylesheets或使用@import语句请参见http://learnboost.github.io/stylus/docs/import.html

for js files please see Including JS files in Derby.js 有关js文件的信息,请参见在Derby.js中包含JS文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM