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
{{ message }}
This repository was archived by the owner on Mar 30, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: generators/app/templates/TODO.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,16 @@ produced the basic files needed for your tool. You'll still need to handle the i
15
15
},```
16
16
-[] add any css styles to [src/style.less](src/style.less)
17
17
18
-
All those done? Brilliant! To push this component to npm, you'll need an [account at npmjs.com](https://www.npmjs.com/). Once you've signed up....
18
+
Run the commands written below in the given order -
19
+
1.`npm run less`
20
+
2.`npm run build`
21
+
3.`npm start`
22
+
23
+
Navigate to the `examples` page and check if your component is working.
24
+
25
+
All those done? Now anybody can use your Web Component by importing the [bundle.js](dist/bundle.js) file in the [dist](dist) directory and [style.css](dist/style.css) if you have a stylesheet.
26
+
27
+
Brilliant! To push this component to npm, you'll need an [account at npmjs.com](https://www.npmjs.com/). Once you've signed up....
19
28
20
29
1. Run `npm login` in your terminal to sign in to npm. Add your username and password when prompted.
21
30
2. Run `npm publish` - this step will publish your app onto the public npm repository.
0 commit comments