feat(starter): add changelogs and examples
This commit is contained in:
27
examples/readme.md
Normal file
27
examples/readme.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# `es7-typescript-starter` Usage Examples
|
||||
|
||||
This directory (`/examples`) can be deleted when forking this project. It contains some simple examples of how forks of this starter can be used by other projects. (Usually you'll want to provide these instructions in your root `readme.md`.)
|
||||
|
||||
## Node (Vanilla)
|
||||
|
||||
```bash
|
||||
yarn build
|
||||
cd examples/node-vanilla
|
||||
node test.js
|
||||
```
|
||||
|
||||
## Node (Typescript)
|
||||
|
||||
```bash
|
||||
yarn build
|
||||
cd examples/node-typescript
|
||||
yarn && yarn build && yarn start
|
||||
```
|
||||
|
||||
## Browser (Rollup, Tree-shaking)
|
||||
|
||||
```bash
|
||||
yarn build
|
||||
cd examples/browser
|
||||
yarn && yarn build && yarn start
|
||||
```
|
||||
Reference in New Issue
Block a user