Skip to content

Commit

Permalink
Docs: Add readmes with basic instructions for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Dec 6, 2021
1 parent 51913bc commit 03a8e3c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions examples/webpack-with-cjs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Webpack with CommonJS module

This example shows how to integrate LMC Cookie Consent Manager with Webpack via CommonJS module.

## How to use

Execute [npm][npm] or [Yarn][yarn] to bootstrap the example:

```shell
npm install
# or
yarn
```

Then run the `build` script and open `index.html` in your browser.

[npm]:https://docs.npmjs.com/cli/init
[yarn]:https://yarnpkg.com/lang/en/docs/cli/create/
18 changes: 18 additions & 0 deletions examples/webpack-with-esm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Webpack with EcmaScript module

This example shows how to integrate LMC Cookie Consent Manager with Webpack via ESM module.

## How to use

Execute [npm][npm] or [Yarn][yarn] to bootstrap the example:

```shell
npm install
# or
yarn
```

Then run the `build` script and open `index.html` in your browser.

[npm]:https://docs.npmjs.com/cli/init
[yarn]:https://yarnpkg.com/lang/en/docs/cli/create/

0 comments on commit 03a8e3c

Please sign in to comment.