pl
pue-loader
npm i pue-loader
pl

pue-loader

🐍 A more pythonic javascript for Vue component file. (Pug + CoffeeScript + Stylus)

by cinwell.li

0.4.0 (see all)License:WTFPLTypeScript:Not Found
npm i pue-loader
Readme

pue-loader

Build Status npm vue

🐍 A more pythonic javascript for Vue component file. (Pug + CoffeeScript + Stylus)

Usage

Create a app.pue file

template
  div
    span {{ count }}
    button(@click="count++") +
    button(@click="count--") -

script
  export default {
    name: 'compo'
    data: () ->
      count: 0
  }

style(scoped="scoped")
  span
    color red

Installation

npm i pue-loader css-loader vue-loader -D

webpack config

modules.export = {
  module: {
    rules: [
      {
        test: /\.pue$/,
        loader: 'pue-loader'
      }
    ]
  }
}

Syntax highlight

License

WTFPL

Downloads/wk

44

GitHub Stars

20

LAST COMMIT

5yrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
0.4.0
latest
5yrs ago
No alternatives found
No tutorials found
Add a tutorial