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
-[#4691](https://github.com/ignite/cli/pull/4691), [#4706](https://github.com/ignite/cli/pull/4706), [#4725](https://github.com/ignite/cli/pull/4725), [#4737](https://github.com/ignite/cli/pull/4737) Fix ts-client query template and solely Go template for `ts-client` generation.
14
+
-[#4742](https://github.com/ignite/cli/pull/4742) Updates Vue composables template for new ts-client and tanstack/vue-query v5
15
+
-[#4744](https://github.com/ignite/cli/pull/4744) Remove `react` frontend generation via `s react` command. Use the [Ignite CCA App](https://github.com/ignite/apps) instead.
Copy file name to clipboardExpand all lines: docs/docs/03-clients/03-vue.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,20 +94,22 @@ purposes, but you should not do this in production.
94
94
95
95
In the `example` directory run the following command to start your blockchain:
96
96
97
-
```
97
+
```bash
98
98
ignite chain serve
99
99
```
100
100
101
101
To start your Vue application, go to the `vue` directory and run the following
102
102
command in a separate terminal window:
103
103
104
-
```
105
-
npm install && npm run dev
104
+
:::note
105
+
Make sure you have [pnpm](https://pnpm.io/) installed.
106
+
:::
107
+
108
+
```bash
109
+
pnpm install && pnpm dev
106
110
```
107
111
108
-
It is recommended to run `npm install` before starting your app with `npm run
109
-
dev` to ensure that all dependencies are installed (including the ones that the
110
-
API client has, see `vue/postinstall.js`).
112
+
It is recommended to run `pnpm install` before starting your app with `pnpm dev` to ensure that all dependencies are installed (including the ones that the API client has, see `vue/postinstall.js`).
// NewScaffoldReact scaffolds a React app for a chain.
12
15
funcNewScaffoldReact() *cobra.Command {
13
16
c:=&cobra.Command{
14
-
Hidden: true, // hidden util we have a better ts-client.
15
-
Use: "react",
16
-
Short: "React web app template",
17
-
Args: cobra.NoArgs,
18
-
PreRunE: migrationPreRunHandler,
19
-
RunE: scaffoldReactHandler,
17
+
Use: "react",
18
+
Deprecated: "the React scaffolding feature is removed from Ignite CLI.\nPlease use the Ignite CCA app to create a React app.\nFor more information, visit: https://ignite.com/marketplace/CCA",
20
19
}
21
20
22
-
c.Flags().AddFlagSet(flagSetYes())
23
-
c.Flags().StringP(flagPath, "p", "./"+chainconfig.DefaultReactPath, "path to scaffold content of the React app")
0 commit comments