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. The following VS Code plugins are required. Find them in the VS Code plugin directory.
27
+
-**Vue Official**, the official Vue plugin.
27
28
-**Prettier** to force code-style consistency
28
-
-**Vetur**, the official Vue plugin.
29
29
30
30
## First time build
31
31
@@ -45,9 +45,9 @@ Congrats! You now have SimWrapper installed and you are ready to start hacking!
45
45
46
46
## Development Commands
47
47
48
-
**npm run serve** -- Build and run a local copy of the site. This is the main command you will use to start up the dev server, hack on your changes in VS Code, and see the results. `npm run serve` runs a local server with hot reload for testing, which usually listens on http://localhost:8080
48
+
**npm run dev** -- Build and run a local copy of the site. This is the main command you will use to start up the dev server, hack on your changes in VS Code, and see the results. `npm run dev` runs a local server with hot reload for testing, which usually listens on http://localhost:5173
49
49
50
-
**npm run build** -- Compile and minify the build for production. This command builds in "production mode", which performs some optimizations, shakes out unused libraries, and catches some build-time errors. You probably want to run this before you push anything live.
50
+
**npm run build** -- Compile and minify the build for production. This command builds in "production mode", which performs some optimizations, shakes out unused libraries, and catches some build-time errors. You want to run this before you push anything live.
51
51
52
52
**npm run test:unit** -- Run unit tests. Ahahaha well... I have not written tests 👽 but the infrastructure is there to use `jest`.
53
53
@@ -74,7 +74,7 @@ We wrote a deploy script that builds and pushes to Github Pages. Follow these in
74
74
-`/scripts`: Housekeeping scripts go here. Most of these are used for postprocessing model results, written in Python, and also some build scripts are found here.
75
75
-`/src`: all TypeScript and Vue files go here
76
76
-`/src/assets`: images, .CSVs, etc that get packaged by the build process go here
77
-
-`/src/charts`: Dashboard chart types go here. Each chart type is a separate Vue component.
77
+
-`/src/dash-panels`: Dashboard chart types go here. Each chart type is a separate Vue component.
78
78
-`/src/components`: shared Vue components go here, there are lots of them
79
79
-`/src/js`: some typscript utility classes
80
80
-`/src/layers`: shared deck.gl layer files go here. These are generally written in JSX.
0 commit comments