0.0.2 • Published 2 years ago

@darwishdev/dash-dev v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Component DForm

npm npm

Compatible with Quasar UI v2 and Vue 3.

Component DForm

Short description of the component

Usage

Quasar CLI project

Create and register a boot file:

import Vue from 'vue'
import Plugin from 'dash-dev'
import 'dash-dev/dist/index.css'

Vue.use(Plugin)

OR:

<style src="dash-dev/dist/index.css"></style>

<script>
import { Component as DForm } from 'dash-dev'

export default {
  
  components: {
    DForm
  }
  
  
}
</script>

Vue CLI project

import Vue from 'vue'
import Plugin from 'dash-dev'
import 'dash-dev/dist/index.css'

Vue.use(Plugin)

OR:

<style src="dash-dev/dist/index.css"></style>

<script>
import { Component as DForm } from 'dash-dev'

export default {
  
  components: {
    DForm
  }
  
  
}
</script>

UMD variant

Exports window.dashDev.

Add the following tag(s) after the Quasar ones:

<head>
  <!-- AFTER the Quasar stylesheet tags: -->
  <link href="https://cdn.jsdelivr.net/npm/dash-dev/dist/index.min.css" rel="stylesheet" type="text/css">
</head>
<body>
  <!-- at end of body, AFTER Quasar script(s): -->
  <script src="https://cdn.jsdelivr.net/npm/dash-dev/dist/index.umd.min.js"></script>
</body>

If you need the RTL variant of the CSS, then go for the following (instead of the above stylesheet link):

<link href="https://cdn.jsdelivr.net/npm/dash-dev/dist/index.rtl.min.css" rel="stylesheet" type="text/css">

Setup

$ yarn

Developing

# start dev in SPA mode
$ yarn dev

# start dev in UMD mode
$ yarn dev:umd

# start dev in SSR mode
$ yarn dev:ssr

# start dev in Cordova iOS mode
$ yarn dev:ios

# start dev in Cordova Android mode
$ yarn dev:android

# start dev in Electron mode
$ yarn dev:electron

Building package

$ yarn build

Adding Testing Components

in the ui/dev/src/pages you can add Vue files to test your component/directive. When using yarn dev to build the UI, any pages in that location will automatically be picked up by dynamic routing and added to the test page.

Adding Assets

If you have a component that has assets, like language or icon-sets, you will need to provide these for UMD. In the ui/build/script.javascript.js file, you will find a couple of commented out commands that call addAssets. Uncomment what you need and add your assets to have them be built and put into the ui/dist folder.

Donate

If you appreciate the work that went into this, please consider donating to Quasar.

License

MIT (c) ahmed darwish a.darwish.dev@gmail.com

acceptsacornacorn-jsxacorn-walkajv-formatsajvajv-keywordsalphanum-sortansi-escapesansi-html-communityansi-regexansi-stylesanymatcharchiverargparsearchiver-utilsarray-flattenarray.prototype.reduceastral-regexasyncat-least-nodeavailable-typed-arraysbabel-loaderbabel-plugin-dynamic-import-nodebabel-plugin-module-resolverbabel-plugin-polyfill-corejs2babel-plugin-polyfill-corejs3babel-plugin-polyfill-regeneratorbalanced-matchbase64-jsbatchbig.jsbinary-extensionsblacorn-dynamic-importbody-parserbonjour-serviceboolbasebrace-expansionbracesbrowserslistbublebufferbuffer-crc32buffer-frombuiltin-modulesbytescall-bindcaller-callsitecallsitescamel-casecaniuse-apicaniuse-litechardetchokidarchrome-trace-eventci-infoclean-csscli-cursorcli-spinnerscli-widthcloneclone-deepcoacolorcolor-convertcolor-namecolor-stringcolorettecolordcommandercommondircompress-commonscompressiblecompressioncompression-webpack-pluginconcat-mapconnect-history-api-fallbackcontent-dispositioncaller-pathcontent-typeconvert-source-mapcookie-signaturecopy-webpack-plugincore-js-compatcore-util-iscosmiconfigcrc-32crc32-streamcss-loadercss-minimizer-webpack-plugincss-selectcss-treecss-whatcssesccssnano-preset-defaultcssnano-util-get-argumentscssnano-util-get-matchcssnano-util-raw-cachecookiecssnano-util-same-parentcssocsstypedebugcss-select-base-adapterdeepmergedefault-gatewaydefaultsdefine-lazy-propdefine-propertiesdepddestroydetect-nodedir-globdns-equaldns-packetdom-converterdom-serializerdomelementtypedomhandlerdomutilsdot-casedot-propduplexeree-firstejselectron-to-chromiumelementtreeemoji-regexemojis-listcssnano-utilsencodeurlend-of-streamentitieserror-exerror-stack-parseres-abstractes-array-method-boxes-properlyes-module-lexeres-set-tostringtages-to-primitiveescaladeescape-htmlescape-string-regexpeslint-scopeesrecurseesprimaestraverseestree-walkeresutilsetageventemitter3eventsexecaexpressexternal-editorfast-deep-equalfast-globfast-json-stable-stringifyfastqfaye-websocketfiguresenhanced-resolvefile-loaderfilelistfinalhandlerfind-babel-configfind-cache-dirfind-upfollow-redirectsfor-eachforwardedfork-ts-checker-webpack-pluginfraction.jsfreshfs-constantsfs-monkeyfs.realpathfunction-bindfunction.prototype.namefunctions-have-namesgensyncget-intrinsicget-streamget-symbol-descriptionglobglob-parentglob-to-regexpfill-rangeglobalsglobalthisglobbygopdgraceful-fsgzip-sizehandle-thinghas-bigintshas-flaghas-property-descriptorshas-protohas-symbolshas-tostringtaghash-sumhehex-color-regexhsl-regexhsla-regexhtml-entitieshtml-minifier-terserhtml-minifierhtmlparser2html-webpack-pluginhttp-deceiverhttp-errorshttp-parser-jshttp-proxyhttp-proxy-middlewarehuman-signalsiconv-litehpack.jsicss-utilsignoreimport-freshindexes-ofieee754inheritsinquirerinflightinternal-slotipaddr.jsis-absolute-urlis-arrayishis-bigintis-binary-pathis-array-bufferis-callableis-color-stopis-core-moduleis-boolean-objectis-date-objectis-directoryis-dockeris-fullwidth-code-pointis-globis-extglobis-interactiveis-moduleis-negative-zerois-numberis-number-objectis-objis-plain-objectis-plain-objis-regexis-resolvableis-shared-array-bufferis-streamis-symbolis-typed-arrayis-unicode-supportedis-weakrefis-wslisarrayisbinaryfileisexeisobjectjakejavascript-stringifyis-stringjest-utiljest-workerjs-tokensjs-yamljson-parse-even-better-errorsjson-schema-traversejson-parse-better-errorsjson5kind-ofklonalaunch-editorjsonfilelaunch-editor-middlewarelilconfiglines-and-columnsloader-runnerlazystreamloader-utilslocate-pathlodash.debouncelodash.defaultslodash.differencelodashlodash.flattenjsesclodash.isplainobjectlodash.memoizelodash.truncatelodash.unionlodash.uniqlog-symbolslog-updatelru-cachemagic-stringlower-casemake-dirmedia-typermdn-datamemfsmerge-descriptorsmerge-streammerge2methodsmicromatchmimemime-dbmime-typesmimic-fnmini-css-extract-pluginminimalistic-assertminimatchminimistmkdirpmrmimemsmulticast-dnsmute-streamnanoidnegotiatorneo-asyncno-casenode-loadernode-forgenode-releasesnormalize-pathnormalize-rangenormalize-urlnpm-run-pathnth-checknull-loaderobject-inspectobject-keysobject.assignobject.getownpropertydescriptorsobject.valuesobufon-finishedon-headersonceonetimeopeneroraos-tmpdirouchp-limitp-locatep-retryp-tryparam-caseparent-moduleparse-jsonparseurlpascal-casepath-existspath-is-absolutepath-keypath-parsepath-to-regexppath-typepicocolorspicomatchpkg-dirpkg-uppostcss-calcpostcss-colorminpostcss-convert-valuespostcss-discard-commentspostcss-discard-duplicatespostcss-discard-emptypostcss-discard-overriddenpostcss-loaderpostcss-merge-longhandpostcss-merge-rulespostcss-minify-font-valuespostcss-minify-gradientspostcss-minify-paramspostcss-minify-selectorspostcss-modules-extract-importspostcss-modules-local-by-defaultpostcss-modules-scopepostcss-modules-valuespostcss-normalize-charsetpostcss-normalize-display-valuespostcss-normalize-positionspostcss-normalize-repeat-stylepostcss-normalize-stringpostcss-normalize-timing-functionspostcss-normalize-unicodepostcss-normalize-urlpostcss-normalize-whitespacepostcss-ordered-valuespostcss-reduce-initialpostcss-reduce-transformspostcss-rtlcsspostcss-selector-parserpostcss-svgopostcss-unique-selectorspostcss-value-parserpretty-errorprocess-nextick-argsproxy-addrpunycodeqqsqueue-microtaskrandombytesrange-parserraw-bodyreadable-streamreaddir-globreaddirpregenerateregenerate-unicode-propertiesregenerator-runtimeregenerator-transformregexp.prototype.flagsregexpu-coreregister-service-workerregjsgenrelateurlrenderkidrequire-from-stringrequires-portregjsparserresolveresolve-fromrestore-cursorretryreusifyrgb-regexrgba-regexrun-asyncrun-parallelrxjssafe-buffersafe-regex-testsafer-buffersass-loadersaxschema-utilsselect-hoseselfsignedreselectsemverserialize-javascriptserve-indexserve-staticsetprototypeofshallow-cloneshebang-commandshebang-regexshell-quoteside-channelsignal-exitsendsimple-swizzleslashslice-ansisockjssource-mapsource-map-jssource-map-supportsourcemap-codecspdyspdy-transportsprintf-jssirvstablestackframestatusesstring-widthstring.prototype.trimstartstring_decoderstrip-ansistrip-final-newlinestrip-json-commentsstylehackssupports-colorsupports-preserve-symlinks-flagstring.prototype.trimendsvgotapabletar-streamterserterser-webpack-pluginthroughthunkytimsorttmpto-fast-propertiesto-regex-rangetabletotalistts-loadertype-festtype-istyped-array-lengthtypescriptunbox-primitiveunicode-canonical-property-names-ecmascriptunicode-match-property-ecmascriptunicode-match-property-value-ecmascriptunicode-property-aliases-ecmascriptuniquniqsuniversalifyunpipetslibunquoteupper-caseuri-jsurl-loadertoidentifierutil-deprecateutilautils-mergeutil.promisifyuuidvendorsvaryvue-loaderupdate-browserslist-dbvue-style-loaderwatchpackwebpackwcwidthwebpack-bundle-analyzerwebpack-chainwebpack-dev-middlewarecss-color-nameswebpack-mergewebpack-node-externalswebpack-sourceswebsocket-extensionswebsocket-driverwhichwhich-boxed-primitivewhich-typed-arraywildcardwrap-ansiwrappywsyallistyamlzip-streamwbufhascss-declaration-sorterwebpack-dev-servercross-spawn
0.0.2

2 years ago

0.0.1

2 years ago