Skip to content

Commit 302be4d

Browse files
committed
simplify code contributions by fully automating the dev setup with Gitpod.
1 parent 6235b43 commit 302be4d

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

.gitpod.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
tasks:
2+
- init: npm install
3+
command: npm run dev
4+
ports:
5+
- port: 8080
6+
onOpen: open-preview
7+
8+
vscode:
9+
extensions:
10+
- [email protected]:TEzauMObB6f3i2JqlvrOpA==

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
<a href="https://vuejs.org/"><img src="https://img.shields.io/badge/vue-2.x-brightgreen.svg?style=flat-square"/></a>
1111
<a href="https://github.com/shakee93/vue-toasted/"><img src="http://img.badgesize.io/shakee93/vue-toasted/master/dist/vue-toasted.min.js?compression=gzip&style=flat-square"/></a>
1212
<a href="http://packagequality.com/#?package=vue-toasted"><img src="http://npm.packagequality.com/shield/vue-toasted.svg?style=flat-square"/></a>
13+
<a href="https://gitpod.io/from-referrer/"><img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code">
14+
</a>
1315
</p>
1416

1517
## Introduction
@@ -344,6 +346,11 @@ Please Report If You have Found any Issues.
344346

345347
On Mobile Toasts will be on full width. according to the position the toast will either be on top or bottom.
346348

349+
### Contribute using the one-click online setup.
350+
351+
Contribute to Vue Toasted using a fully featured online development environment that will automatically: clone the repo, install the dependencies and start the webserver.
352+
353+
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
347354

348355
### Credits
349356

webpack.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ module.exports = {
5050
performance: {
5151
hints: false
5252
},
53-
devtool: '#source-map'
53+
devtool: '#source-map',
54+
devServer: {
55+
disableHostCheck: true
56+
}
5457
}
5558

5659
if (process.env.NODE_ENV === 'production') {

0 commit comments

Comments
 (0)