create-stylable-app
v6.1.1
Published
Quickly create a Stylable application
Downloads
196
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 webpackts-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.