├── README.md ├── gutenberg-example.php ├── package.json ├── src ├── block │ ├── block.js │ ├── block.scss │ ├── content.js │ └── index.js ├── index.js └── wordpress │ ├── blocks.js │ ├── components.js │ ├── element.js │ └── i18n.js ├── webpack.config.js ├── webpack.development.js ├── webpack.production.js └── yarn.lock /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcatdev/gutenberg-example-plugin/HEAD/README.md -------------------------------------------------------------------------------- /gutenberg-example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcatdev/gutenberg-example-plugin/HEAD/gutenberg-example.php -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcatdev/gutenberg-example-plugin/HEAD/package.json -------------------------------------------------------------------------------- /src/block/block.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcatdev/gutenberg-example-plugin/HEAD/src/block/block.js -------------------------------------------------------------------------------- /src/block/block.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcatdev/gutenberg-example-plugin/HEAD/src/block/block.scss -------------------------------------------------------------------------------- /src/block/content.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcatdev/gutenberg-example-plugin/HEAD/src/block/content.js -------------------------------------------------------------------------------- /src/block/index.js: -------------------------------------------------------------------------------- 1 | import './block.js' -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import './block' -------------------------------------------------------------------------------- /src/wordpress/blocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcatdev/gutenberg-example-plugin/HEAD/src/wordpress/blocks.js -------------------------------------------------------------------------------- /src/wordpress/components.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcatdev/gutenberg-example-plugin/HEAD/src/wordpress/components.js -------------------------------------------------------------------------------- /src/wordpress/element.js: -------------------------------------------------------------------------------- 1 | export const { Component } = wp.element -------------------------------------------------------------------------------- /src/wordpress/i18n.js: -------------------------------------------------------------------------------- 1 | export const { __ } = wp.i18n -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcatdev/gutenberg-example-plugin/HEAD/webpack.config.js -------------------------------------------------------------------------------- /webpack.development.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcatdev/gutenberg-example-plugin/HEAD/webpack.development.js -------------------------------------------------------------------------------- /webpack.production.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcatdev/gutenberg-example-plugin/HEAD/webpack.production.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcatdev/gutenberg-example-plugin/HEAD/yarn.lock --------------------------------------------------------------------------------