forked from jgthms/bulma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bulma-start.html
183 lines (168 loc) · 5.17 KB
/
bulma-start.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
---
title: 'Bulma start'
fulltitle: 'Bulma start: a tiny npm package to get started with Bulma'
layout: default
route: bulma-start
version: 0.0.5
download_url: https://github.com/jgthms/bulma-start/releases/download/0.0.5/bulma-start-0.0.5.zip
github_url: https://github.com/jgthms/bulma-start
npm_url: https://www.npmjs.com/package/bulma-start
breadcrumb:
- home
- more
- bulma-start
---
{% include global/navbar.html id="MadeWithBulma" %}
{%
include components/hero.html
color="success"
icon="fas fa-rocket"
title="The `bulma-start` package"
subtitle="A tiny npm package to get started with Bulma"
%}
<section class="section bd-content">
<div class="container">
<div class="columns">
<div class="column is-5-widescreen">
<p class="title is-4">
<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.
</p>
<div class="buttons">
<a
class="button bd-fat-button is-medium is-success"
target="_blank"
href="{{ page.download_url }}"
>
<span class="icon">
<i class="fas fa-download"></i>
</span>
<span><strong>Download v{{ page.version }}</strong></span>
</a>
</div>
<div class="buttons">
<a
class="button is-small is-light"
target="_blank"
href="{{ page.github_url }}"
>
<span><strong>GitHub</strong> page</span>
</a>
<a
class="button is-small is-light is-danger"
target="_blank"
href="{{ page.npm_url }}"
>
<span><strong>npm</strong> page</span>
</a>
</div>
</div>
<div class="column is-narrow">
<p>
<a href="{{ page.npm_url }}">
<img
src="{{ site.url }}/images/bulma-start.png"
alt="Bulma: a Flexbox CSS framework"
style="max-width: 100%;"
width="438"
height="200"
/>
</a>
</p>
</div>
</div>
{% include elements/anchor.html name="Install" %}
<div class="content">
<p>
<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:
</p>
</div>
{% 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
>
{% include elements/anchor.html name="What’s included" %}
<div class="content">
<p>
The <code>npm</code> dependencies included in <code>package.json</code> are:
</p>
<ul>
<li>
<code
><a href="https://github.com/jgthms/bulma" target="_blank"
>bulma</a
></code
>
</li>
<li>
<code
><a href="https://github.com/sass/sass" target="_blank"
>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>
</ul>
<p>Apart from <code>package.json</code>, the following files are included:</p>
<ul>
<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>
<li><code>index.html</code> this HTML5 file</li>
<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>
</ul>
</div>
</div>
</section>