GithubHelp home page GithubHelp logo

primer / view_components-template Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 3.0 167 KB

The quickest way to start playing around with Primer ViewComponents

Home Page: https://primer.style/view-components/

Dockerfile 2.52% Ruby 64.83% JavaScript 8.30% CSS 1.84% SCSS 0.44% HTML 22.06%
ruby primer rails viewcomponents component-library design-system boilerplate template

view_components-template's Introduction

Primer ViewComponents Template ๐Ÿฑ๐Ÿ’Ž

The quickest way to test out or prototype something in Primer ViewComponents without having to set up a new project.

preview

Get Started (Codespaces)

  1. Click Code
  2. Click new codespace
  3. Pick any machine type and click create codespace
  4. Wait until the container is built and Running postCreateCommand... is finished running in the bottom TERMINAL panel.
  5. Now in the bottom TERMINAL panel write the rails server command and hit enter.
  6. When it's finished building your project click Open to open a preview of it. If this doesn't happen click PORTS in the bottom window and open the Local Address from there.
  7. Now you are in Mona's playground ๐ŸŽ‰ and you can start editing the app/views/hello/index.html.erb file to play around with Primer ViewComponents.
Instructions.mov

Get Started (Locally)

  1. Clone the project
  2. Run bundle install
  3. Run rails server
  4. Open http://127.0.0.1:3000 to view it in the browser.
  5. Go to app/views/hello/index.html.erb to start prototyping.

10 reasons why this is great

  • ๐Ÿง‘๐Ÿปโ€๐Ÿ’ป Get used to using Codespaces
  • ๐Ÿฅบ You're a new Hubber, you have enough to learn already
  • ๐Ÿง–โ€โ™€๏ธ Prototype layouts outside the main platform
  • ๐Ÿ—‘ No clutter on your local computer
  • ๐Ÿฅด No local problems
  • โ–ถ๏ธ Send over a preview link while working live on your code, no waiting for deploy previews needed.
  • ๐Ÿš€ No need to set up a new project, just instantly start prototyping
  • ๐Ÿงช You want to learn Rails

Useful Links

view_components-template's People

Contributors

maximedegreve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.