forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d7c8a7
commit 2ef0d1c
Showing
5 changed files
with
123 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.DS_Store | ||
.Thumbs.db | ||
node_modules/ | ||
dev-umd/dist | ||
dist/ | ||
deploy/ | ||
npm-debug.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
const | ||
fs = require('fs'), | ||
{ resolve } = require('path'), | ||
sym = require('sym'), | ||
opn = require('opn') | ||
|
||
const | ||
src = resolve(__dirname, '../dist'), | ||
dest = resolve(__dirname, '../dev-umd/dist') | ||
|
||
if (!fs.existsSync(src)) { | ||
console.error('ERROR: please "npm run build" first') | ||
process.exit(0) | ||
} | ||
|
||
if (!fs.existsSync(dest)) { | ||
sym(src, dest, 'dir') | ||
} | ||
|
||
opn( | ||
resolve(__dirname, '../dev-umd/index.mat.umd.html'), | ||
{ wait: false } | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
<!DOCTYPE html> | ||
<html lang="es"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="format-detection" content="telephone=no"> | ||
<meta name="msapplication-tap-highlight" content="no"> | ||
<meta name="viewport" content="user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,width=device-width"> | ||
|
||
<title>Quasar UMD test</title> | ||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons" rel="stylesheet" type="text/css"> | ||
<link href="dist/umd/quasar.mat.css" rel="stylesheet" type="text/css"> | ||
</head> | ||
<body> | ||
<div id="q-app"> | ||
<q-layout view="lHh Lpr fff"> | ||
<q-layout-header> | ||
<q-toolbar class="glossy"> | ||
<q-btn flat round dense @click="drawerState = !drawerState" icon="fas fa-bars"></q-btn> | ||
|
||
<q-toolbar-title> | ||
Quasar App - t | ||
<div slot="subtitle">Running on Quasar v{{ version }}</div> | ||
</q-toolbar-title> | ||
</q-toolbar> | ||
</q-layout-header> | ||
|
||
<q-layout-drawer v-model="drawerState" content-class="bg-grey-3"> | ||
<q-list no-border link inset-delimiter> | ||
<q-list-header>Essential Links</q-list-header> | ||
<q-item @click.native="launch('http://quasar-framework.org')"> | ||
<q-item-side icon="fas fa-graduation-cap"></q-item-side> | ||
<q-item-main label="Docs" sublabel="quasar-framework.org"></q-item-main> | ||
</q-item> | ||
<q-item @click.native="launch('http://forum.quasar-framework.org')"> | ||
<q-item-side icon="far fa-clipboard"></q-item-side> | ||
<q-item-main label="Forum" sublabel="forum.quasar-framework.org"></q-item-main> | ||
</q-item> | ||
<q-item @click.native="launch('https://gitter.im/quasarframework/Lobby')"> | ||
<q-item-side icon="fas fa-comments"></q-item-side> | ||
<q-item-main label="Gitter Channel" sublabel="Quasar Lobby"></q-item-main> | ||
</q-item> | ||
<q-item @click.native="launch('https://twitter.com/quasarframework')"> | ||
<q-item-side icon="fab fa-twitter"></q-item-side> | ||
<q-item-main label="Twitter" sublabel="@quasarframework"></q-item-main> | ||
</q-item> | ||
</q-list> | ||
</q-layout-drawer> | ||
|
||
<q-page-container> | ||
<my-page></my-page> | ||
</q-page-container> | ||
</q-layout> | ||
</div> | ||
|
||
<script type="text/x-template" id="my-page"> | ||
<q-page padding> | ||
|
||
<!-- page content; replace this entirely --> | ||
<div class="row flex-center absolute-full"> | ||
"npm run test:umd" | ||
</div> | ||
|
||
</q-page> | ||
</script> | ||
|
||
<script src="dist/umd/quasar.ie.polyfills.umd.min.js"></script> | ||
<script src="https://unpkg.com/vue/dist/vue.js"></script> | ||
<script src="dist/umd/quasar.mat.umd.js"></script> | ||
<script src="dist/umd/i18n.es.umd.min.js"></script> | ||
<script src="dist/umd/icons.fontawesome.umd.min.js"></script> | ||
|
||
<script> | ||
Quasar.i18n.set(Quasar.i18n.es) | ||
Quasar.icons.set(Quasar.icons.fontawesome) | ||
|
||
Vue.component('my-page', { | ||
template: '#my-page' | ||
}) | ||
|
||
new Vue({ | ||
el: '#q-app', | ||
data: function () { | ||
return { | ||
version: Quasar.version, | ||
drawerState: true | ||
} | ||
}, | ||
methods: { | ||
launch: function (url) { | ||
Quasar.utils.openURL(url) | ||
} | ||
} | ||
}) | ||
</script> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters