feat(starter): add changelogs and examples
This commit is contained in:
3
examples/browser/src/index.html
Normal file
3
examples/browser/src/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>
|
||||
<script src="test.js" />
|
||||
</body></html>
|
||||
10
examples/browser/src/test.ts
Normal file
10
examples/browser/src/test.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
// Note: we're not using the double method, so it should be excluded from the bundle
|
||||
import { power, asyncABC } from '../../../'
|
||||
|
||||
if (power(3,4) === 81) {
|
||||
console.log('✔ power(3,4) === 81')
|
||||
} else {
|
||||
console.error('The "power" method seems to be broken.')
|
||||
}
|
||||
|
||||
asyncABC().then( abc => console.log('✔ asyncABC returned:', abc) )
|
||||
Reference in New Issue
Block a user