Giter Site home page Giter Site logo

study3c / vue-amis-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dext7r/vue-amis-sdk

0.0 0.0 0.0 43.23 MB

基于amis-editor封装的vue版本,支持vue2,vue3

Home Page: https://github.com/h7ml/vue-amis-sdk-examples

License: Apache License 2.0

JavaScript 99.75% CSS 0.23% HTML 0.01% Vue 0.01% SCSS 0.02%

vue-amis-sdk's Introduction

vue-amis-sdk

about

  • This project is based on vuera and mainly focuses on the encapsulation of amis-editor
  • You can edit at this. The proxy mode is enabled. You can copy the JSON of amis. It supports direct rendering

language last stars amis amis-editor

npm ommit-activity package Npm Version Node Version
Install Size Type Support
Outdated Dep Vulnerablities License

Installation

yarn add vue-amis-sdk @fortawesome/fontawesome-free --save

Quick Start

<template>
  <div id='app'>
    <vue-amis-sdk
      id='editorName'
      theme='cxd'
      className='is-fixed'
      :preview='isPreview'
      :isMobile='isMobile'
      @onChange='onChange'
      :value='schema'
    />
  </div>
</template>
<script>
import "amis-ui/lib/themes/cxd.css";
import "amis-ui/lib/themes/ang.css";
import "amis-editor/dist/style.css";
export default {
  name: 'App',
  data() {
    return {
      isPreview: false,
      isMobile: false,
      schema: {}
    }
  },
  methods: {
    onChange(e) {
      console.log(e)
    }
  }
}
</script>

version

vue-amis-sdk amis amis-editor
amis-editor amis amis-editor
amis-editor amis amis-editor
amis-editor amis amis-editor
amis-editor amis amis-editor
amis-editor amis amis-editor
amis-editor amis amis-editor

repo

vue-amis-sdk's People

Contributors

h7ml avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.