You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/09/29 08:59:56 UTC

[GitHub] majinkai edited a comment on issue #108: improve yaml editor

majinkai edited a comment on issue #108: improve yaml editor
URL: https://github.com/apache/incubator-dubbo-ops/issues/108#issuecomment-424947330
 
 
   I added ace-editor into `components/AceEditor.vue`(Actual cases refer to access control module.), here is usage:
   
   ```html
   <template>
     <ace-editor v-model="content" width="100%" height="200px" lang="javascript" :theme="theme" />
   </template>
   <script>
   import AceEditor from '@/components/AceEditor'
   export default {
     components: {
       AceEditor
     },
     data: () => ({
       content: 'console.log("Hello Ace Editor!")',
       theme: 'dawn'
     })
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org