bulma-start.html 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. ---
  2. fulltitle: "Bulma start: a tiny npm package to get started with Bulma"
  3. layout: default
  4. route: bulma-start
  5. download_url: https://github.com/jgthms/bulma-start/archive/master.zip
  6. github_url: https://github.com/jgthms/bulma-start
  7. npm_url: https://www.npmjs.com/package/bulma-start
  8. ---
  9. <div class="container">
  10. {% include navbar.html id="BulmaStartHero" %}
  11. </div>
  12. <section class="hero is-success">
  13. <div class="hero-body">
  14. <div class="container">
  15. <div class="columns is-vcentered">
  16. <div class="column">
  17. <h1 class="title">
  18. Bulma Start
  19. </h1>
  20. <p class="subtitle">
  21. Tiny npm package to get started with Bulma
  22. </p>
  23. </div>
  24. <div class="column is-narrow">
  25. {% include carbon.html %}
  26. </div>
  27. </div>
  28. </div>
  29. </div>
  30. </section>
  31. <section class="section">
  32. <div class="container">
  33. <div class="columns">
  34. <div class="column is-5-widescreen">
  35. <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>
  36. <div class="buttons">
  37. <a class="button is-medium is-success" target="_blank" href="{{ page.download_url }}"><span><strong>Download</strong></span></a>
  38. </div>
  39. <div class="buttons">
  40. <a class="button is-small is-outlined is-dark" target="_blank" href="{{ page.github_url }}"><span><strong>GitHub</strong> page</span></a>
  41. <a class="button is-small is-outlined is-danger" target="_blank" href="{{ page.npm_url }}"><span><strong>npm</strong> page</span></a>
  42. </div>
  43. </div>
  44. <div class="column is-narrow">
  45. <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>
  46. </div>
  47. </div>
  48. {% include anchor.html name="Install" %}
  49. {% highlight bash %}npm install bulma-start{% endhighlight %}
  50. <p class="block"><em>or</em></p>
  51. {% highlight bash %}yarn add bulma-start{% endhighlight %}
  52. {% include anchor.html name="What’s included" %}
  53. <div class="content">
  54. <p>The <code>npm</code> dependencies included in <code>package.json</code> are:</p>
  55. <ul>
  56. <li><code><a href="https://github.com/jgthms/bulma" target="_blank">bulma</a></code></li>
  57. <li><code><a href="https://github.com/sass/node-sass" target="_blank">node-sass</a></code> to compile your own Sass file</li>
  58. <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>
  59. <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>
  60. </ul>
  61. <p>Apart from <code>package.json</code>, the following files are included:</p>
  62. <ul>
  63. <li><code>.babelrc</code> configuration file for <a href="https://babeljs.io/">Babel</a></li>
  64. <li><code>.gitignore</code> common <a href="https://git-scm.com/">Git</a> ignored files</li>
  65. <li><code>index.html</code> this HTML5 file</li>
  66. <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>
  67. <li><code>_javascript/main.js</code> an ES6 JavaScript that compiles to <code>lib/main.js</code></li>
  68. </ul>
  69. </div>
  70. </div>
  71. </section>