Add Tachyons to angular 4 cli build -


i using angular 4 template @ https://github.com/ngx-rocket/starter-kit

how can add css utilities call tachyons build bundle use angular cli. since pure css file not javascript , not css module well, impossible require 'tachyons' jquery or bootstrap include build can other dependency.

any idea how do? guys

in .angular-cli.json configuration file, can specify styles include (including specifying pure css files of third party packages).

as result styles section can this:

  "styles": [     "../node_modules/bootstrap/dist/css/bootstrap.css",     "../node_modules/font-awesome/css/font-awesome.css",     "../node_modules/animate.css/animate.min.css",     "styles.sass"   ], 

more info can founded in wiki angular-cli project: global styles


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -