Pankod

Pankod

  • Docs
  • Github

›Features

Introduction

  • Getting Started
  • What's included?
  • Setup
  • Structure

Features

  • Styling
  • Unit Testing
  • Enviroment Variables

Project CLI

  • Overview
  • Usage

Styling

Sass/Scss is used to style components. It's recommended to keep style files in the same directory with component's files and import it right from there when necessary.

Example:

├── src
│   ├── Components
│   │   ├── HelloWorld
│   │   │   ├── index.spec.js
│   │   │   ├── index.svelte
│   │   │   └── style.scss
│   │   └── index.ts

You need to import style.scss in to Heading/index.tsx

<style src="./style.scss">

</style>
← StructureUnit Testing →
Pankod
Docs
Getting StartedFeaturesSetup
Community
Twitter
More
GitHubStar
Pankod Open Source
Copyright © 2019 pankod