Git Product home page Git Product logo

cra-template-nubelsondev's Introduction

A quick start Styled-components + Layout Create React App template

A quick start Create React App (CRA) template with configured Styled-components and Layout configuration.

๐Ÿ‘จโ€๐Ÿ’ป Usage

npx create-react-app your-project-name --template nubelsondev

Or

yarn create react-app your-project-name --template nubelsondev

npx command installs the most recent stable version of CRA from npm.

--template parameter points to this template, note that cra-template- prefix is omitted.

๐Ÿง  Motivation

You know how boring it is to have to configure your project every time you develop a new application. Does she need Styled-Components? Ok, you install the library and configure all the global styling, create the theme and mediaQueries files and then you have to create a Layout component so that all of this works correctly. What if we could have it all ready at the beginning of the project? I want to focus on developing the application and not waste my time configuring it. That's why I created this template.

โš™๏ธ Available Scripts

In the project directory, you can run:

  • yarn start - runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
  • yarn build - builds the app for production to the build folder.

  • yarn eject - exposes content of react-script package

Due to CRA template limitations (we can change only scripts and dependencies inside generated package.json) all configuration is done by adding config files where possible. Also no devDependencies for now, sorry.

๐Ÿ’… Styled-Components configuration

This template provides a complete configuration with Styled-Components including global styling, mediaQueries and 1 standard theme that are added to the Layout of the application using ThemeProvider.

How to create custom Create React App (CRA) templates

I created a step by step guide on how to create your own templates. Check it

My personal Blog


ยฉ 2020
With โค๏ธ and โ˜• by
Nubelson Fernandes

cra-template-nubelsondev's People

Contributors

nublson avatar

Watchers

 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.