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
Copy file name to clipboardExpand all lines: README.md
+48-17Lines changed: 48 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,37 @@
6
6
7
7
This package aims to include all of the frontend assets (JS and SCSS) necessary to create components using the HTML markup examples in the [Explorer 1 Storybook](https://nasa-jpl.github.io/explorer-1/).
8
8
9
+
## Version 3.x.x docs (draft)
10
+
11
+
Version 3.x.x adds Vue components and a Nuxt module to Explorer-1.
12
+
13
+
```bash
14
+
# Start the Vue Storybook
15
+
make vue-storybook
16
+
17
+
# Start a Vue app to test components directly (optional)
18
+
make vue
19
+
20
+
# Start a Nuxt app to test the nuxt module
21
+
make nuxt
22
+
23
+
# Start the HTML Storybook (from v2.x.x)
24
+
make html-storybook
25
+
```
26
+
27
+
### Developing Vue components
28
+
29
+
1. Create new component files in `packages/vue`
30
+
2. Start the Vue Storybook to preview and test your component (your component must have a `*.stories.js` file): `make vue-storybook`
31
+
32
+
--
33
+
34
+
**The below docs only apply to Explorer 1 versions 2.x.x and earlier. Docs are incomplete for version 3.x.x**
Reference the JavaScript files in [`/src/js/components/`](https://github.com/nasa-jpl/explorer-1/tree/main/src/js/components) for components that require additional JavaScript. The files will share the same name as the component.
0 commit comments