crancos

1.7.0 • Public • Published

CRA a la Francos

Usage:

npx crancos [--ts] [project-name]

Bootstraps an environment analogous to create-react-app, but with Snowpack and Tailwind

Please NB the CSS file sets up all divs with display: flex;

The above command will run a script that:

  1. Runs create-snowpack-app (this is more specifically analogous to create-react-app)

  2. Installs npm packages and sets up config files necessary for Tailwind (including Xeevis' patch for getting jit working with snowpack)

  3. Installs react-icons

  4. Adds some CSS that

    1. sets all divs to use display: flex by default

    2. creates a grid-overlay class for div superimposition sans relative/absolute

  5. Replaces the default CRA page with a more minimal one (which demonstrates grid-overlay)

  6. Opens up your main App file in vscode (if it's installed)

  7. Takes under 30 seconds on my 2017 Core i7

Package Sidebar

Install

npm i crancos

Weekly Downloads

1

Version

1.7.0

License

MIT

Unpacked Size

7.78 kB

Total Files

11

Last publish

Collaborators

  • jfrancos