You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-5Lines changed: 23 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ Under the hood, the transform will:
58
58
- extract the styles, compile them and insert them with the `insert-css` module.
59
59
- extract the template, compile it and add it to your exported options.
60
60
61
-
You can `require()` other stuff in the `<script>` as usual. ~~Note that for CSS-preprocessor @imports, the path should be relative to your project root directory.~~ Starting in 7.0.0, `@import` in LESS, SASS and Stylus files can be either relative to your build tool root working directory, or to the file being edited.
61
+
You can `require()` other stuff in the `<script>` as usual. ~~Note that for CSS-preprocessor @imports, the path should be relative to your project root directory.~~ Starting in 7.0.0, `@import` in LESS, SASS and Stylus files can be either relative to your build tool root working directory, or to the file being edited. Or one can set import paths in options.
62
62
63
63
## Usage
64
64
@@ -108,7 +108,7 @@ var fs = require("fs")
108
108
var browserify =require('browserify')
109
109
var vueify =require('vueify')
110
110
111
-
browserify('./entry.js')
111
+
browserify('./main.js')
112
112
.transform(vueify)
113
113
.bundle()
114
114
.pipe(fs.createWriteStream("bundle.js"))
@@ -146,10 +146,10 @@ These are the built-in preprocessors:
146
146
147
147
- stylus
148
148
- less
149
-
- scss (via `node-sass`)
149
+
- scss (via `node-sass`, use `sass` in [config section](#configuring-options))
150
150
- jade
151
151
- pug
152
-
- coffee-script
152
+
- coffee-script (use `coffee` in [config section](#configuring-options))
0 commit comments