]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add - how to import CSS file in project (#1776)
authorGautam Kumar <r8here@users.noreply.github.com>
Mon, 9 Apr 2018 08:39:45 +0000 (14:09 +0530)
committerJeremy Thomas <bbxdesign@gmail.com>
Mon, 9 Apr 2018 08:39:45 +0000 (09:39 +0100)
* 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".

README.md

index e8492cbd3ccb4dee6bb53674ae8b4efb6bad8b93..bd0893d852b186e3d75443b5fa82b9c6603df269 100644 (file)
--- 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)