Installations
npm install vue2-ace-editor-k
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
16.18.1
NPM Version
8.19.2
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
chairuosen
Download Statistics
Total Downloads
568
Last Day
1
Last Week
5
Last Month
21
Last Year
107
GitHub Statistics
Apache-2.0 License
363 Stars
59 Commits
72 Forks
11 Watchers
2 Branches
5 Contributors
Updated on Dec 23, 2024
Bundle Size
382.00 kB
Minified
107.26 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.0.8
Package Id
vue2-ace-editor-k@0.0.8
Unpacked Size
16.20 kB
Size
5.81 kB
File Count
4
NPM Version
8.19.2
Node Version
16.18.1
Published on
May 31, 2023
Total Downloads
Cumulative downloads
Total Downloads
568
Last Day
0%
1
Compared to previous day
Last Week
-16.7%
5
Compared to previous week
Last Month
16.7%
21
Compared to previous month
Last Year
-76.8%
107
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
vue2-ace-editor
A packaging of ace
Demo here: https://github.com/chairuosen/vue-ace-editor-demo/tree/vue2
IMPORTANT
emmet support for html is removed after 0.0.6. because its code cannot works with strict mode.
if you want to use it. require emmet by your own.
npm install emmet@git+https://github.com/cloud9ide/emmet-core.git#41973fcc70392864c7a469cf5dcd875b88b93d4a
1require(['emmet/emmet'],function (data) { // this is huge. so require it async is better 2 window.emmet = data.emmet; 3});
How to use
-
Install
npm install --save-dev vue2-ace-editor
-
Require it in
components
of Vue options1{ 2 data, 3 methods, 4 ... 5 components: { 6 editor: require('vue2-ace-editor'), 7 }, 8}
-
Require the editor's mode/theme module in custom methods
1{ 2 data, 3 methods: { 4 editorInit: function () { 5 require('brace/ext/language_tools') //language extension prerequsite... 6 require('brace/mode/html') 7 require('brace/mode/javascript') //language 8 require('brace/mode/less') 9 require('brace/theme/chrome') 10 require('brace/snippets/javascript') //snippet 11 } 12 }, 13}
-
Use the component in template
1<editor v-model="content" @init="editorInit" lang="html" theme="chrome" width="500" height="100"></editor>
prop
v-model
is requiredprop
lang
andtheme
is same as ace-editor's docprop
height
andwidth
could be one of these:200
,200px
,50%
-
Access the ACE's instance
<editor ref='myEditor'>
let editor = this.$refs.myEditor.editor
or
editorInit: function (editor) { }

No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0
Reason
Found 5/23 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 12 are checked with a SAST tool
Score
3.3
/10
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More