Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arjixwastaken/vite-vue-wpbakery-template
https://github.com/arjixwastaken/vite-vue-wpbakery-template
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/arjixwastaken/vite-vue-wpbakery-template
- Owner: ArjixWasTaken
- License: mit
- Created: 2023-09-24T18:04:21.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-05T10:35:59.000Z (about 1 year ago)
- Last Synced: 2024-11-29T04:30:00.406Z (27 days ago)
- Language: JavaScript
- Size: 90.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vite-vue-wpbakery-template
## Project setup
```
pnpm install
pnpm build
```> [!WARNING]
> The name of the plugin folder is used to resolve the plugin's assets, whenever you rename the folder you need to rebuild the plugin.## Development
To create a new wpbakery component, all you need to do is create a new `.vue` file in the `src/components` folder.
> [!IMPORTANT]
> Within the `.vue` file, you must define the props that the component will receive, if there are no props then `defineProps({})` will suffice, it is hardcoded to look for it right now.## Credits
Huge thanks to [wp-boilerplate-vue-with-vite](https://github.com/hasanuzzamanbe/wp-boilerplate-vue-with-vite) for the inspiration and the base of this project.
## Note
Whilst this template should work fine without [WPBakery](https://wpbakery.com/), it is heavily recommended to use it.