0.3.0 • Published 4 years ago

@storyblok-components/simple-text-block v0.3.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Requirements to use this component

  • ...

Install

npm install @storyblok-components/simple-text-block --save

or

yarn add @storyblok-components/simple-text-block

Usage

You can immediately use installed components schema with sb-mig sync --ext functionality.

You just need to edit your storyblok.config.js and add 'node_modules/@storyblok-components' which will tell sb-mig to look for schema files inside @storyblok-components folder.

module.exports = {
    ...
    componentsDirectories: ['src', 'storyblok', 'node_modules/@storyblok-components'],
    ...
};

then you can just run

sb-mig sync --ext simple-text-block

which will sync simple-text-block schema to your storyblok space. You can also, import schema inside your other schema, and use only part of it:

const SimpleTextBlock = require("@storyblok-components/simple-text-block/simple-text-block.sb");

For React part of component

import SimpleTextBlock from '@storyblok-components/simple-text-block`

FAQ

1) ?

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.1.13

4 years ago

0.1.11

4 years ago

0.1.12

4 years ago

0.1.10

4 years ago

0.1.8

4 years ago

0.1.9

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago