
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
atom-vue-component-compiler
Advanced tools
compiles a vue component with the help of vue-component-compiler
compiles a vue component with the help of vue-component-compiler
npm install atom-vue-component-compiler
requiring atom-vue-component-compiler
returns a Function(options)
Options | Type | Default | Usage |
---|---|---|---|
packageName | string | none | name of the package you are developing uses atom.packages.resolvePackagePath to find the required path |
src | string | "components" | relative path to vue files |
compiled | string | "components_compiled" | relative path where js files will be saved |
calling this function returns another Function(names)
Parameter | Type | Usage |
---|---|---|
names | array | names of the packages you want to compile (will be converted to kebab case) |
calling this function which will search in the src
path of your package for name in names
for #{name}.vue
and compile it to #{name}.js
and save it into the compiled
path of your package.
This function returns a promise, which will be fulfilled when all files have been compiled.
compile = require("atom-vue-component-compiler")(packageName:"your-package-name")
compile ["nested-comp","mainApp"] # will search for nested-comp.vue and main-app.vue
.then ->
# everything successfully compiled
# could load with "atom-vue-component-loader"
.catch (err) ->
# there was a error in reading, compiling or writing
Copyright (c) 2015 Paul Pflugradt Licensed under the MIT license.
FAQs
compiles a vue component with the help of vue-component-compiler
The npm package atom-vue-component-compiler receives a total of 3 weekly downloads. As such, atom-vue-component-compiler popularity was classified as not popular.
We found that atom-vue-component-compiler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.