|
|
|
@ -26,15 +26,15 @@ module.exports = tinyComponentsWebpack({
|
|
|
|
|
})
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Plugin: RiotJS
|
|
|
|
|
## Plugin: Riot.js
|
|
|
|
|
|
|
|
|
|
For using RiotJS, install compiler and webpack-loader
|
|
|
|
|
For using Riot.js, install compiler and webpack-loader
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
npm install @riotjs/compiler @riotjs/webpack-loader --save-dev
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
And adding a rule for RiotJS,
|
|
|
|
|
And adding a rule for Riot.js,
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
const tinyComponentsWebpack = require('@tiny-components/webpack')
|
|
|
|
|