All Projects → component-creator-plugin → vue-component-creator-plugin

component-creator-plugin / vue-component-creator-plugin

Licence: MIT license
Simplify your frontend dev by automatically created vue components and vuex modules

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vue-component-creator-plugin

components
A Web component library that brings the power of TwicPics to your favorite web framework.
Stars: ✭ 21 (+31.25%)
Mutual labels:  components
intellij-pokemon-progress
A Pokémon themed progress bar for IntelliJ IDEA.
Stars: ✭ 70 (+337.5%)
Mutual labels:  jetbrains
lovedebug
A fixed and updated repo of LOVEDEBUG
Stars: ✭ 22 (+37.5%)
Mutual labels:  module
fast-blazor
Blazor component library for FluentUI. Microsoft's official lightweight wrapper around the FluentUI Web Components for use with .NET 6.0 Blazor applications
Stars: ✭ 928 (+5700%)
Mutual labels:  components
google streetview
A command line tool and module for Google Street View Image API
Stars: ✭ 77 (+381.25%)
Mutual labels:  module
nuxt-modules
AX2's Nuxt modules
Stars: ✭ 30 (+87.5%)
Mutual labels:  module
Framer-CollectionComponent
Framer Module
Stars: ✭ 22 (+37.5%)
Mutual labels:  module
vuex-module-generator
abdullah.github.io/vuex-module-generator
Stars: ✭ 89 (+456.25%)
Mutual labels:  module
PoShLog
🔩 PoShLog is PowerShell cross-platform logging module. It allows you to log structured event data into console, file and much more places easily. It's built upon great C# logging library Serilog - https://serilog.net/
Stars: ✭ 108 (+575%)
Mutual labels:  module
svelte-simple-icons
📦 This package provides the Simple Icons packaged as a set of Svelte components.
Stars: ✭ 27 (+68.75%)
Mutual labels:  components
react-sheikah-ui
React component library based on The Legend of Zelda: Breath of the Wild game
Stars: ✭ 45 (+181.25%)
Mutual labels:  components
wulaphp
一个有点复杂的PHP框架!
Stars: ✭ 26 (+62.5%)
Mutual labels:  module
react-native-tab-navigator
JavaScript for React-Native iOS Android module
Stars: ✭ 35 (+118.75%)
Mutual labels:  module
JetBrainsRunner
A Krunner Plugin which allows you to open your recent projects
Stars: ✭ 31 (+93.75%)
Mutual labels:  jetbrains
interstellar
Dark editor theme for JetBrains IDEs
Stars: ✭ 26 (+62.5%)
Mutual labels:  jetbrains
render react
Pre-render and mount React components from Ruby
Stars: ✭ 14 (-12.5%)
Mutual labels:  components
note
一些技术笔记
Stars: ✭ 174 (+987.5%)
Mutual labels:  module
reactionmenu
A library to create a discord paginator. Supports pagination with Discords Buttons feature and reactions.
Stars: ✭ 68 (+325%)
Mutual labels:  components
laravel-module
Module management package for Laravel
Stars: ✭ 65 (+306.25%)
Mutual labels:  module
SCF4-SDK
Motorized zoom lens controller Kurokesu SCF4 module featuring STM32 controller and Onsemi LC898201 driver control software
Stars: ✭ 14 (-12.5%)
Mutual labels:  module

vue-component-creator

Downloads Version Rating

An Brainstorm Plugin to create single file vue.js components with a Sass file along them and complete vuex modules. This plugins does a couple of things in order to simplify your dev experience.

Create Component Create Vuex Module

Install

Search for Vue Component Creator in the plugins settings. Or download the plugin from the release site

Plugin Installation

Vue single file component

Right click in the project tree view where you want to place the new module. Then New File -> Vue Module. This will open a dialog to define the module's name. This name is used later to name the directory, vue- and sass-file as well as the sass root name, and a root node in the vue file with the given name.

New Component

Structure

  • componentName
    • _component-name.scss
    • component-name.md
    • component-name.vue
    • component-name.stories.js
    • component-name.spec.js

Vuex module

By creating a new Vuex module, a couple of files will be generated.

Structure

  • moduleName
    • actions.js
    • index.js
    • mutations.js
    • state.js
    • mutation-types.js (depending whether you set the Mutationstypes File
    • getters.js (depending wether you checked Getters File
    • types.d.ts

Customize Templates

Component

Available template variables

Variable Example Description
componentName my-module Name of the component
componentNameCamelCase myModule Name of the component in camelCase
componentNamePascalCase MyModule Name of the component in camelCase
createMarkdown 0/1 Whether the markdown file is created or not

Vuex

Available template variables

Variable Example Description
componentName my-module Name of the component
componentNameCamelCase myModule Name of the component in camelCase
componentNamePascalCase MyModule Name of the component in camelCase
mutationsFile ./mutation-types.js Filepath to the mutations
property data Name of the property to be created
getterName getData Getter function name
propertyType string Type of the property
getters 0/1 Create getters
useInterface 0/1 Create a typescript file with type definitions
createMutationTypes 0/1 Whether to create a custom mutation types file
actionName setData Name of the action
mutationName SET_DATA Name of the mutation type
tsInterfaceName MyModuleState Name of the TypeScript State interface name

Development

Checkout the Development Setup Guide for the setup.

Icons

Icons provided by https://www.iconfinder.com/justicon via https://www.iconfinder.com

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].