main
HerrHase 2 months ago
parent 445756d047
commit fba0462b90

@ -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 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') const tinyComponentsWebpack = require('@tiny-components/webpack')

@ -1,4 +1,6 @@
/** /**
* riot.js
*
* npm install @riotjs/compiler @riotjs/webpack-loader --save-dev * npm install @riotjs/compiler @riotjs/webpack-loader --save-dev
* *
*/ */

Loading…
Cancel
Save