GithubHelp home page GithubHelp logo

xcx-my-extension's Introduction

How to install

https://github.com/koichii/xcx-my-extension.git https://koichii.github.io/xcx-my-extension/dist/myExtension.mjs https://shiroganeconsultant.com/xcx-my-extension/dist/myExtension.mjs

★ビルド ローカルから開発環境へコピー cd ~/xcratch/xcx-my-extension npm run build

★開発マシンから本番マシンへコピー scp ~/xcratch/xcx-my-extension/dist/myExtension.mjs [email protected]:/datadrive/pcratch/assets/ https://kitaratch.j-code.org/get_asset_file/myExtension.mjs

== 開発環境からローカルへコピー /dist/myExtension.mjs git push xcratch拡張機能として読み込む https://shiroganeconsultant.com/xcx-my-extension/dist/myExtension.mjs

My Extension

An example extension for Xcratch

This extension add extra-block "do it", that executes string in its input field as a sentence in Javascript and return the result.

✨ What You Can Do With This Extension

Play Example Project to look at what you can do with "My Extension" extension.

<iframe src="https://xcratch.github.io/editor/player#https://githubAccount.github.io/xcx-my-extension/projects/example.sb3" width="540px" height="460px"></iframe>

How to Use in Xcratch

This extension can be used with other extension in Xcratch.

  1. Open Xcratch Editor
  2. Click 'Add Extension' button
  3. Select 'Extension Loader' extension
  4. Type the module URL in the input field
https://githubAccount.github.io/xcx-my-extension/dist/myExtension.mjs

Development

Register on the local Xcratch

Run register script to install this extension on the local Xcratch for testing.

npm run register

Bundle into a Module

Run build script to bundle this extension into a module file which could be loaded on Xcratch.

npm run build

🏠 Home Page

Open this page from https://githubAccount.github.io/xcx-my-extension/

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

xcx-my-extension's People

Contributors

kito-jc avatar

Watchers

Koichi 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.