create-stylable-app

Quickly create a Stylable application

Usage no npm install needed!

<script type="module">
  import createStylableApp from 'https://cdn.skypack.dev/create-stylable-app';
</script>

README

create-stylable-app

Quickly initialize a web application powered with Stylable as its styling solution.

This CLI creates a simple setup that showcases basic Stylable integration.

Usage

npx create-stylable-app <project-name>

OR

npm init stylable-app <project-name>

OR

yarn create stylable-app <project-name>

Options

Choosing a template

create-stylable-app can generate a project from a set of different templates:

  • ts-react-webpack (default) - generate a project based on React, TypeScript and webpack
  • ts-react-rollup - generate a project based on React, TypeScript and Rollup

Options description

Option Alias Description Default Value
--template -t project template to use (ts-react-webpack or ts-react-rollup) ts-react-webpack
--verboseNpm print verbose npm log false
--help -h Show this help
--version -v show create-stylable-app version number

License

Copyright (c) 2020 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by a MIT license.