Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🚀 Dojo - example applications.

License

NotificationsYou must be signed in to change notification settings

dojo/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

This repository contains example applications built using Dojo.

For current progress on Dojo, contribution guidelines and other information, please visitdojo/meta.

Examples

Here is a table of the current examples available in this repository complete with code and a hosted demonstration:

ExampleCodeDemoSandboxOverview
TodoMVCLinkLinkLinkReference implementation ofTodoMVC built using Dojo packages.
TodoMVC (kitchen sink)LinkLinkLinkFeature-enhanced version of TodoMVC built using Dojo packages.
iCache BasicLinkLinkLinkBasic example of icache middleware usage
iCache AdvancedLinkLinkLinkExample of getOrSet icache API and typed icache
Resize MiddlewareLinkLinkLinkDemonstrates working with an element that changes dimensions
HNPWALinkLinkLinkReference implementation ofHNPWA built using Dojo packages.
Custom Element ShowcaseLinkLinkShowcase of widgets from@dojo/widgets compiled ascustom elements.
Custom Element MenuLinkLinkDemonstration of a menu widget compiled as acustom element.
Real-world ApplicationLinkLinkLinkA real-world implementation of an existing site using Dojo packages: conduit.
Intersection ObserverLinkLinkLinkDemonstration of theIntersection meta and how it can be used to create an infinite scrolling list.
Resize ObserverLinkLinkDemonstration of theResize meta and how it can be used to create responsive components.
Dgrid WrapperLinkLinkDemonstration of theDgrid Wrapper for runningdgrid in a reactive way in a modern Dojo application.
World ClockLinkLinkDemonstration of i18n in an application built using Dojo packages.
Static BlogLinkLinkLinkTemplate for creating a blog using dojo with build time rendering and blocks
Store ArraysLinkLinkLinkDemonstrates working with arrays in @dojo/stores

How Do I Contribute?

We appreciate your interest!

Adding an Example

To add an example to the project, create the example in thepackages directory. In order to build and deploy the application there are a few required.

Npm Scripts

There are two required npm scripts:

build:deploy

Thebuild:deploy script needs to install node modules at the beginning and remove them at the end after successfully building the example. E.g.

"build:deploy": "npm install && dojo build --dojorc .dojorc-deploy && shx rm -rf node_modules",

package

Thepackage script needs move the built output into the correct directory in the main output/dist directory. E.g.

"package": "shx cp -r output/dist/ ../../output/dist/hnpwa/",

.dojorc-deploy file

A.dojorc-deploy file that extends the base.dojorc but specifies a base of the examples directory name. E.g.

{"extends":".dojorc","build-app": {"base":"/hnpwa/"}}

Installation & Testing

Refer to eachREADME.md for details on installing and testing the examples:

Building all Examples

From the root directory, runnpm install and thennpm run build. The built examples are output into theoutput/dist directory at the of the product.

Licensing Information

© 2018JS Foundation.New BSD license.

Link |

About

🚀 Dojo - example applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors22


[8]ページ先頭

©2009-2025 Movatter.jp