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
3. Then follow the prompts! You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + Vue project, run:
84
+
85
+
```sh
86
+
yarn create vite my-vue-app --template vue
87
+
```
88
+
89
+
4. Navigate to the project's main directory.
82
90
83
91
```sh
84
92
cd<my-cool-plugin>
85
93
```
86
94
87
-
4. Use your package manager to install Sigma’s plugin library. We recommend
95
+
5. Use your package manager to install Sigma’s plugin library. We recommend
88
96
using `yarn`.
89
97
90
98
```sh
91
99
yarn add @sigmacomputing/plugin
92
100
```
93
101
94
-
5. Spin up your local development server.
102
+
6. Spin up your local development server.
95
103
96
104
```sh
97
-
yarn && yarn start
105
+
yarn && yarn dev
98
106
```
99
107
100
-
6. Start developing:
108
+
7. Start developing:
101
109
102
110
- Get started with Sigma’s Plugin APIs.
103
111
- Test your plugin directly in a Sigma workbook using the Sigma Plugin Dev
104
112
Playground.
105
-
- By default, Create React App dev servers run on http://localhost:3000.
113
+
- By default, vite dev servers run on http://localhost:5173.
114
+
115
+
NOTE: Facebook's [create-react-app](https://github.com/facebook/create-react-app) is deprecated. You should use [vite](https://github.com/vitejs/vite) to setup your project.
0 commit comments