Skip to content

kartikwatwani/stencil-starter

Repository files navigation

Stencil Starter

Welcome to Stencil, stencil starter designed for seamless integration across various platforms including Stencil, Angular, and Vue. This document will guide you through the process of starting and optionally renaming the library, updating the repository origin, and setting up the development environment.

Prerequisites

Before you begin, ensure you have Node.js and npm installed on your system. You can download and install them from Node.js official website.

Getting Started

Follow these steps to set up your project:

  1. Clone the repository:

    git clone https://github.com/username/my-library.git
    cd my-library
  2. Install dependencies:

    npm install

Renaming the Library

To rename the library from the default 'my-library' to your preferred name:

  1. Run the rename command from the root directory:

    npx gulp default --name <new-library-name>

    Replace <new-library-name> with the name you want to assign to the library.

  2. (Optional) To update the remote repository origin:

    npx gulp default --name <new-library-name> --origin <username/repo-path>

    Replace <username/repo-path> with your GitHub username and repository path.

Example

If you renamed the library to foo-library, the core Stencil library will be named foo-library and the framework-specific libraries will be suffixed accordingly:

  • Angular: foo-library-angular
  • Vue: foo-library-vue

Development Workflow

After renaming, the gulp task will automatically start watching the files for changes. You can continue developing and testing your changes across all integrated frameworks.

Contributing

Contributions are welcome! Please read our contributing guidelines in CONTRIBUTING.md to learn about our submission process, coding standards, and more.

License

This project is licensed under the MIT License - see the LICENSE file for details.


This README is designed to provide a quick and straightforward overview of setting up and customizing the project. Adjustments might be necessary to fit additional details specific to your project's needs or organizational guidelines.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published