From: Gautam Kumar Date: Mon, 9 Apr 2018 08:39:45 +0000 (+0530) Subject: Add - how to import CSS file in project (#1776) X-Git-Tag: 0.7.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ed335f34c38fcf73b41babfe5871c08e6ce0915;p=thirdparty%2Fbulma.git Add - how to import CSS file in project (#1776) * Add - how to import CSS file in project Just thought it should be in readme as new learners frequently ask how to import the css after npm installation. * Update as suggested. Moved the import snippets block between "Bower" and "CDN". --- diff --git a/README.md b/README.md index e8492cbd3..bd0893d85 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Bulma is constantly in development! Try it out now: ```sh npm install bulma ``` + **or** ### Yarn @@ -32,6 +33,13 @@ yarn add bulma bower install bulma ``` +### Import +After installation, you can import the CSS file into your project using this snippet: + +```sh +import 'bulma/css/bulma.css' +``` + ### CDN [https://cdnjs.com/libraries/bulma](https://cdnjs.com/libraries/bulma)