├── .gitignore ├── package.json ├── README.md ├── LICENSE └── src └── Brace.vue /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue-bulma-brace", 3 | "version": "0.1.0", 4 | "description": "Code editor powered by Vuejs and browserify Ace.", 5 | "repository": "vue-bulma/brace", 6 | "main": "src/Brace.vue", 7 | "peerDependencies": { 8 | "bulma": ">=0.3", 9 | "vue": ">=2" 10 | }, 11 | "keywords": [ 12 | "vue", 13 | "bulma", 14 | "vue-bulma", 15 | "vue-bulma-component", 16 | "vue-bulma-brace", 17 | "brace" 18 | ], 19 | "dependencies": { 20 | "brace": "^0.10.0" 21 | }, 22 | "author": "Luventa Pan", 23 | "license": "MIT" 24 | } 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Brace 2 | 3 | Code editor powered by Vuejs and browserify Ace (Brace) 4 | 5 | ## Installation 6 | 7 | ``` 8 | $ npm install vue-bulma-brace --save 9 | ``` 10 | 11 | 12 | ## Examples 13 | 14 | ```vue 15 | 28 | 29 | 38 | ``` 39 | 40 | 41 | ## Badges 42 | 43 | ![](https://img.shields.io/badge/license-MIT-blue.svg) 44 | ![](https://img.shields.io/badge/status-dev-yellow.svg) 45 | 46 | --- 47 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/Brace.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 115 | --------------------------------------------------------------------------------