create-razzle-app

4.2.18 • Public • Published

Create Razzle App

Create UNIVERSAL React, Preact, and Inferno apps in one command.

npx create-razzle-app my-proj
cd my-proj
npm start

or.... with the yarn create command:

yarn create razzle-app my-proj
cd my-proj
yarn start

You can also initialize a project from one of the official examples.

npx create-razzle-app --example with-preact my-preact-app
cd my-preact-app
npm start

or

yarn create razzle-app --example with-preact my-preact-app
cd my-preact-app

or initialize a project from npm/github/git/file examples.

From npm:

npx create-razzle-app --example razzle-example-basic@latest my-app
cd my-app
npm start

From github repo:

npx create-razzle-app --example https://github.com/fivethreeo/razzle-example-basic@master my-app
cd my-app
npm start

From git repo:

npx create-razzle-app --example git+git://github.com/fivethreeo/razzle-example-basic@master my-app
cd my-app
npm start

From local path:

npx create-razzle-app --example file:local/path/to/example my-app
cd my-app
npm start

All methods except official and file examples also supports examples at subpaths:

npx create-razzle-app --example git+git://github.com/fivethreeo/razzle-example-basic@master:subexample my-app
cd my-app
npm start
npx create-razzle-app --example razzle-example-basic@latest:subexample my-app
cd my-app
npm start

/create-razzle-app/

    Package Sidebar

    Install

    npm i create-razzle-app

    Weekly Downloads

    16

    Version

    4.2.18

    License

    MIT

    Unpacked Size

    93.3 kB

    Total Files

    31

    Last publish

    Collaborators

    • jaredpalmer
    • razzle-bot