3.0.0 • Published 8 months ago
reacton-loader v3.0.0
reacton-loader
Loader for single-file Reacton components in Webpack
Install
npm i reacton-loader -D
webpack.config.js
module: {
rules: [
{
test: /\.html?$/,
loader: 'reacton-loader'
}
... // other rules
]
},
example Component.htm
<h2>{{ title }}</h2>
<p>{{ message }}</p>
<script>
import { httpRequest } from '../helpers'
exports = class WHome {
static mode = 'open'
static async startConnect() {
const home = await httpRequest('/db?page=home')
this.title = home.title
this.message = home.message
}
}
</script>
3.0.0
8 months ago
2.2.17
2 years ago
2.2.18
2 years ago
2.2.15
2 years ago
2.2.3
2 years ago
2.2.16
2 years ago
2.2.2
2 years ago
2.2.5
2 years ago
2.2.14
2 years ago
2.2.4
2 years ago
2.2.11
2 years ago
2.2.7
2 years ago
2.2.12
2 years ago
2.2.6
2 years ago
2.2.10
2 years ago
2.2.9
2 years ago
2.2.8
2 years ago
2.2.19
2 years ago
2.2.23
2 years ago
2.2.20
2 years ago
2.2.21
2 years ago
2.2.1
2 years ago
2.2.0
2 years ago
2.1.1
2 years ago
2.1.0
2 years ago
2.0.2
2 years ago
2.0.1
2 years ago
2.0.0
2 years ago
1.1.0
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago