Skip to content

Commit ab6fa4d

Browse files
committed
better error reporting
1 parent 4a077d3 commit ab6fa4d

6 files changed

Lines changed: 2489 additions & 230 deletions

File tree

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,20 @@ $ npm install
1414
Build the application for the first time...
1515

1616
```
17-
$ npm run build
17+
$ npm run gitpod (for gitpod users)
18+
$ npm run start (for other users)
1819
```
19-
And start coding your Vanilla.js application, update the `index.html`, `index.css` or `index.js` depending on your needs.
20+
And start coding your Vanilla.js application, update the `src/index.html`, `src/index.scss` or `src/index.js` depending on your needs.
2021

2122
## FAQ
2223

23-
#### 1) How do I run my code in Cloud 9?
24-
Right click on `./index.html` and choose the __RUN__ option on the menu.
24+
#### 1) How do I run my code?
25+
If you are in Cloud9: Right click on `./index.html` and choose the __RUN__ option on the menu.
26+
If you are in Gitpod: Just `$ npm run gitpod` and click on Open Browser.
27+
If you are in your own environment `$ npm run start` and type localhost on the browser.
2528

2629
#### 2) Where do I write my code?
27-
It depends on the language, but you have `./src/js/index.js`, `./src/css/index.css` and `./index.html` respectively, you can add new `.html` as you please, just make sure to include the bundle.js using the `<script>` tag.
30+
It depends on the language, but you have `./src/js/index.js`, `./src/style/index.scss` and `./isrc/index.html` respectively, you can add new `.html` as you please, just make sure to include import it on the index.js.
2831

2932
__Note:__ remember that the JS workflow starts inside `window.onload`.
3033

0 commit comments

Comments
 (0)