2017-10-17 13:06:45 +00:00
|
|
|
|
---
|
2020-04-11 12:35:18 +00:00
|
|
|
|
title: 'Bulma start'
|
|
|
|
|
fulltitle: 'Bulma start: a tiny npm package to get started with Bulma'
|
2018-04-10 17:50:19 +00:00
|
|
|
|
layout: more
|
2017-10-17 13:06:45 +00:00
|
|
|
|
route: bulma-start
|
2020-04-11 12:35:18 +00:00
|
|
|
|
version: 0.0.4
|
|
|
|
|
download_url: https://github.com/jgthms/bulma-start/releases/download/0.0.4/bulma-start-0.0.4.zip
|
2017-10-17 13:06:45 +00:00
|
|
|
|
github_url: https://github.com/jgthms/bulma-start
|
|
|
|
|
npm_url: https://www.npmjs.com/package/bulma-start
|
2018-04-10 17:50:19 +00:00
|
|
|
|
breadcrumb:
|
2020-04-11 12:35:18 +00:00
|
|
|
|
- home
|
|
|
|
|
- more
|
|
|
|
|
- bulma-start
|
2017-10-17 13:06:45 +00:00
|
|
|
|
---
|
|
|
|
|
|
2018-04-10 17:50:19 +00:00
|
|
|
|
<div class="columns">
|
|
|
|
|
<div class="column is-5-widescreen">
|
2019-02-07 19:22:21 +00:00
|
|
|
|
<p class="title is-4">
|
2020-04-11 12:35:18 +00:00
|
|
|
|
<code><a target="_blank" href="{{ page.npm_url }}">bulma-start</a></code>
|
|
|
|
|
is a tiny npm package that includes the <code>npm</code>
|
|
|
|
|
<strong>dependencies</strong> you need to
|
|
|
|
|
<strong>build your own website</strong> with Bulma.
|
2019-02-07 19:22:21 +00:00
|
|
|
|
</p>
|
|
|
|
|
|
2018-04-10 17:50:19 +00:00
|
|
|
|
<div class="buttons">
|
2020-04-11 12:35:18 +00:00
|
|
|
|
<a
|
|
|
|
|
class="button is-medium is-success"
|
|
|
|
|
target="_blank"
|
|
|
|
|
href="{{ page.download_url }}"
|
|
|
|
|
>
|
2019-02-07 19:22:21 +00:00
|
|
|
|
<span><strong>Download v{{ page.version }}</strong></span>
|
|
|
|
|
</a>
|
2017-10-17 13:06:45 +00:00
|
|
|
|
</div>
|
2019-02-07 19:22:21 +00:00
|
|
|
|
|
2018-04-10 17:50:19 +00:00
|
|
|
|
<div class="buttons">
|
2020-04-11 12:35:18 +00:00
|
|
|
|
<a
|
|
|
|
|
class="button is-small is-outlined is-dark"
|
|
|
|
|
target="_blank"
|
|
|
|
|
href="{{ page.github_url }}"
|
|
|
|
|
>
|
2019-02-07 19:22:21 +00:00
|
|
|
|
<span><strong>GitHub</strong> page</span>
|
|
|
|
|
</a>
|
|
|
|
|
|
2020-04-11 12:35:18 +00:00
|
|
|
|
<a
|
|
|
|
|
class="button is-small is-outlined is-danger"
|
|
|
|
|
target="_blank"
|
|
|
|
|
href="{{ page.npm_url }}"
|
|
|
|
|
>
|
2019-02-07 19:22:21 +00:00
|
|
|
|
<span><strong>npm</strong> page</span>
|
|
|
|
|
</a>
|
2017-10-17 13:06:45 +00:00
|
|
|
|
</div>
|
2018-04-10 17:50:19 +00:00
|
|
|
|
</div>
|
2019-02-07 19:22:21 +00:00
|
|
|
|
|
2018-04-10 17:50:19 +00:00
|
|
|
|
<div class="column is-narrow">
|
2019-02-07 19:22:21 +00:00
|
|
|
|
<p>
|
|
|
|
|
<a href="{{ page.npm_url }}">
|
2020-04-11 12:35:18 +00:00
|
|
|
|
<img
|
|
|
|
|
src="{{ site.url }}/images/bulma-start.png"
|
|
|
|
|
alt="Bulma: a Flexbox CSS framework"
|
|
|
|
|
style="max-width: 100%;"
|
|
|
|
|
width="438"
|
|
|
|
|
height="200"
|
|
|
|
|
/>
|
2019-02-07 19:22:21 +00:00
|
|
|
|
</a>
|
|
|
|
|
</p>
|
2018-04-10 17:50:19 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2017-10-17 13:06:45 +00:00
|
|
|
|
|
2018-04-10 17:50:19 +00:00
|
|
|
|
{% include elements/anchor.html name="Install" %}
|
2017-10-17 13:06:45 +00:00
|
|
|
|
|
2019-02-07 18:32:22 +00:00
|
|
|
|
<div class="content">
|
|
|
|
|
<p>
|
2020-04-11 12:35:18 +00:00
|
|
|
|
<a href="{{ page.download_url }}" rel="nofollow noopener"
|
|
|
|
|
><strong>Download bulma-start {{ page.version }} (.zip)</strong></a
|
|
|
|
|
>, rename to your project's name (i.e. <code>my-new-bulma-site</code>) and:
|
2019-02-07 18:32:22 +00:00
|
|
|
|
</p>
|
|
|
|
|
</div>
|
2017-10-17 13:06:45 +00:00
|
|
|
|
|
2020-04-11 12:35:18 +00:00
|
|
|
|
{% highlight bash %} cd my-new-bulma-site npm install npm start {% endhighlight
|
|
|
|
|
%} For more, visit
|
|
|
|
|
<a href="https://github.com/jgthms/bulma-start#get-your-feet-wet"
|
|
|
|
|
>bulma-start README on Github.</a
|
|
|
|
|
>
|
2017-10-17 13:06:45 +00:00
|
|
|
|
|
2018-04-10 17:50:19 +00:00
|
|
|
|
{% include elements/anchor.html name="What’s included" %}
|
2017-10-17 13:06:45 +00:00
|
|
|
|
|
2018-04-10 17:50:19 +00:00
|
|
|
|
<div class="content">
|
2020-04-11 12:35:18 +00:00
|
|
|
|
<p>
|
|
|
|
|
The <code>npm</code> dependencies included in <code>package.json</code> are:
|
|
|
|
|
</p>
|
2017-10-17 13:06:45 +00:00
|
|
|
|
|
2018-04-10 17:50:19 +00:00
|
|
|
|
<ul>
|
2020-04-11 12:35:18 +00:00
|
|
|
|
<li>
|
|
|
|
|
<code
|
|
|
|
|
><a href="https://github.com/jgthms/bulma" target="_blank"
|
|
|
|
|
>bulma</a
|
|
|
|
|
></code
|
|
|
|
|
>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<code
|
|
|
|
|
><a href="https://github.com/sass/node-sass" target="_blank"
|
|
|
|
|
>node-sass</a
|
|
|
|
|
></code
|
|
|
|
|
>
|
|
|
|
|
to compile your own Sass file
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<code
|
|
|
|
|
><a href="https://github.com/postcss/postcss-cli" target="_blank"
|
|
|
|
|
>postcss-cli</a
|
|
|
|
|
></code
|
|
|
|
|
>
|
|
|
|
|
and
|
|
|
|
|
<code
|
|
|
|
|
><a href="https://github.com/postcss/autoprefixer" target="_blank"
|
|
|
|
|
>autoprefixer</a
|
|
|
|
|
></code
|
|
|
|
|
>
|
|
|
|
|
to add support for older browsers
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<code
|
|
|
|
|
><a href="https://babeljs.io/docs/usage/cli/" target="_blank"
|
|
|
|
|
>babel-cli</a
|
|
|
|
|
></code
|
|
|
|
|
>,
|
|
|
|
|
<code
|
|
|
|
|
><a href="https://github.com/babel/babel-preset-env" target="_blank"
|
|
|
|
|
>babel-preset-env</a
|
|
|
|
|
></code
|
|
|
|
|
>
|
|
|
|
|
and
|
|
|
|
|
<code
|
|
|
|
|
><a href="https://github.com/jmcriffey/babel-preset-es2015-ie"
|
|
|
|
|
>babel-preset-es2015-ie</a
|
|
|
|
|
></code
|
|
|
|
|
>
|
|
|
|
|
for compiling ES6 JavaScript files
|
|
|
|
|
</li>
|
2018-04-10 17:50:19 +00:00
|
|
|
|
</ul>
|
2017-10-17 13:06:45 +00:00
|
|
|
|
|
2018-04-10 17:50:19 +00:00
|
|
|
|
<p>Apart from <code>package.json</code>, the following files are included:</p>
|
2017-10-17 13:06:45 +00:00
|
|
|
|
|
2018-04-10 17:50:19 +00:00
|
|
|
|
<ul>
|
2020-04-11 12:35:18 +00:00
|
|
|
|
<li>
|
|
|
|
|
<code>.babelrc</code> configuration file for
|
|
|
|
|
<a href="https://babeljs.io/">Babel</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<code>.gitignore</code> common
|
|
|
|
|
<a href="https://git-scm.com/">Git</a> ignored files
|
|
|
|
|
</li>
|
2018-04-10 17:50:19 +00:00
|
|
|
|
<li><code>index.html</code> this HTML5 file</li>
|
2020-04-11 12:35:18 +00:00
|
|
|
|
<li>
|
|
|
|
|
<code>_sass/main.scss</code> a basic SCSS file that
|
|
|
|
|
<strong>imports Bulma</strong> and explains how to
|
|
|
|
|
<strong>customize</strong> your styles, and compiles to
|
|
|
|
|
<code>css/main.css</code>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<code>_javascript/main.js</code> an ES6 JavaScript that compiles to
|
|
|
|
|
<code>lib/main.js</code>
|
|
|
|
|
</li>
|
2018-04-10 17:50:19 +00:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|