File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 825825 },
826826 {
827827 "command" : " nuxtr.directCreateStore" ,
828- "title" : " Create new Store" ,
828+ "title" : " New Store... " ,
829829 "category" : " Nuxtr" ,
830830 "when" : " nuxtr.isNuxtProject"
831831 },
Original file line number Diff line number Diff line change 11const piniaContent = ( name : string ) => {
2- return `
3- import { defineStore } from 'pinia'
2+ return `import { defineStore } from 'pinia'
43
54export const useMy${ name . charAt ( 0 ) . toUpperCase ( ) + name . slice ( 1 ) } Store = defineStore({
65 id: 'my${ name . charAt ( 0 ) . toUpperCase ( ) + name . slice ( 1 ) } Store',
@@ -9,16 +8,14 @@ export const useMy${name.charAt(0).toUpperCase() + name.slice(1)}Store = defineS
98})
109` }
1110
12- const vuexContent = `
13- export const state = () => ({ })
11+ const vuexContent = `export const state = () => ({ })
1412
1513export const mutations = {}
1614
1715export const actions = { }
1816`
1917
20- const appConfigContent = `
21- export default defineAppConfig({
18+ const appConfigContent = `export default defineAppConfig({
2219
2320})
2421`
You can’t perform that action at this time.
0 commit comments