Giter VIP home page Giter VIP logo

create-stencil's Introduction

Create Stencil

Note that you will need to use npm 6 or higher.

Run:

npm i -g npm

To install latest version of npm

Starters

The create-stencil CLI offers the following starters for bootstrapping your project:

  • component - allows one to spin up a component library containing one or more Stencil components. Best suited for teams/individuals looking to reuse components across one or more applications.
  • app - allows one to spin up an application, complete with routing. This is a community-driven project, and is not formally owned by the Stencil team
  • ionic-pwa - allows one to spin up an Ionic PWA, complete with tabs layout and routing. This is a community-driven project.

Usage

Interactive mode

npm init stencil

Command mode

npm init stencil <starter> <projectName>

Example:

npm init stencil component my-stencil-library

Using a proxy

If you are behind a proxy, configure https_proxy environment variable.

Built-in starters

Developing locally

If you want to add features, clone this repo, open terminal:

Install dependencies

npm install

Then, compile and run the starter:

npm run dev

And it will help you test out your changes.

Citations

Created by William M. Riley:

Related

License

  • MIT

create-stencil's People

Contributors

adamdbradley avatar aveiga avatar beenotung avatar dependabot[bot] avatar erickit avatar ghingis avatar jcesarmobile avatar jthoms1 avatar kplhub avatar manucorporat avatar peterennis avatar pwespi avatar rwaskiewicz avatar sean-perkins avatar splitinfinities avatar willmartian 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.