You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should be able to create a pinia template from the context menu and it set automatically the Name of the file as the Store Name and Id
If you know how to reduce the "Store", so it automatically gets set, just write it in the comments!
eg: Type themeConfig > should be automatically themeConfigStore
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello fellow JetBrains User.
to start with Pinia even faster, I can recommend to setup a file template.
file > settings > editor > file and code templates
and press the+
icon.Name
"PiniaStore" (template name for the context menu)You should be able to create a pinia template from the context menu and it set automatically the Name of the file as the Store Name and Id
In Action
Beta Was this translation helpful? Give feedback.
All reactions