Skip to content

A custom Storyblok field plugin 😎 that allows to create 3D materials with TresJS

License

Notifications You must be signed in to change notification settings

alvarosabu/sb-tres-materials-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sb-tres-materials-field-plugin-banner

Storyblok Tres Materials Field Plugin

A custom Storyblok field plugin 😎 that allows to create 3D materials.

It uses TresJS to make a preview the materials and vue-color-kit for the color picker 🎨.

Usage

For development, run the application locally with

yarn dev

and open the Sandbox.

To build the project, run

yarn build

Deploy the field plugin with the CLI. Issue a personal access token, rename .env.local.example to .env.example, open the file, set the value STORYBLOK_PERSONAL_ACCESS_TOKEN, and run

yarn deploy

Next Steps

Read more about field plugins on GitHub.

Set up continuous integration with the CLI. Define an environmental variable STORYBLOK_PERSONAL_ACCESS_TOKEN, and use the --name and --skipPrompts options as such:

yarn deploy --name $NAME --skipPrompts

@storyblok/design-system is Storyblok's component library for Vue. To add it to this project, follow the instructions in the readme.

About

A custom Storyblok field plugin 😎 that allows to create 3D materials with TresJS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published