Skip to content

Commit

Permalink
chore(webpack-loader): remove outdated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed Apr 13, 2020
1 parent 2366b96 commit 12ad591
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions packages/webpack-loader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,21 +69,3 @@ declare module '*.html' {
export function register(container: IContainer);
}
```

Besides webpack config, you need following config in your app's entry file if you use ShadowDOM or CSS Module.

1. ShadowDOM
```js
import { StyleConfiguration } from '@aurelia/runtime-html';
new Aurelia()
.register(/* ... */, StyleConfiguration.shadowDOM())
```

2. CSS Module
```js
import { StyleConfiguration } from '@aurelia/runtime-html';
new Aurelia()
.register(/* ... */, StyleConfiguration.cssModulesProcessor())
```

TODO: add example of using other template syntax like markdown.

0 comments on commit 12ad591

Please sign in to comment.