Include an existing CSS file in custom extjs theme -


i have existing css file include in extjs production build.

i using custom theme. know can go myapp/packages/mycustomtheme/sass/etc/ , use @import in all.scss file. uses @import in production file.

i'm hoping there way can existing css file compressed rest of app's css.

to include custom css file in production build, can include stylesheet above <!-- <x-compile> --> comment in index.html. index.html should this:

<!doctype html>     <html>     <head>     <meta charset="utf-8">     <title>yourappname</title>     <link rel="stylesheet" href="link-to-custom.css">     <link rel="stylesheet" href="link-to-another-custom.css">         <!-- <x-compile> -->             <!-- <x-bootstrap> -->                 <link rel="stylesheet" href="bootstrap.css">                 <script src="ext/ext-dev.js"></script>                 <script src="bootstrap.js"></script>             <!-- </x-bootstrap> -->             <script src="app/app.js"></script>         <!-- </x-compile> --> </head> <body></body> 

i don't know if there better way of doing this. far has worked me. hope helps.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -