Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2020-03-12 09:40:11 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9673c50fe7fb8a3fa2cbbf240de3f7d315c0ef38
9673c50f
1 parent
6e059a70
Update gh-pages
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
Makefile
printing/example/pubspec.yaml
printing/example/web/index.html
Makefile
View file @
9673c50
...
...
@@ -150,6 +150,7 @@ ref:
gh-pages
:
cd
printing/example; flutter build web
git checkout gh-pages
mv -f printing/example/build/web/
*
.
rm -rf assets icons
mv -fv printing/example/build/web/
*
.
.PHONY
:
test format format-dart format-clang clean publish-pdf publish-printing analyze ref
...
...
printing/example/pubspec.yaml
View file @
9673c50
...
...
@@ -12,7 +12,6 @@ dependencies:
printing
:
path_provider
:
flutter_full_pdf_viewer
:
cupertino_icons
:
markdown
:
dev_dependencies
:
...
...
printing/example/web/index.html
View file @
9673c50
...
...
@@ -3,7 +3,8 @@
<head>
<meta
charset=
"UTF-8"
>
<meta
content=
"IE=Edge"
http-equiv=
"X-UA-Compatible"
>
<meta
name=
"description"
content=
"A new Flutter project."
>
<meta
name=
"description"
content=
"Pdf Printing Example"
>
<link
rel=
"shortcut icon"
href=
"/icons/Icon-192.png"
type=
"image/png"
>
<!-- iOS meta tags & icons -->
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
...
...
@@ -11,10 +12,20 @@
<meta
name=
"apple-mobile-web-app-title"
content=
"example"
>
<link
rel=
"apple-touch-icon"
href=
"/icons/Icon-192.png"
>
<title>
e
xample
</title>
<title>
Pdf Printing E
xample
</title>
<link
rel=
"manifest"
href=
"/manifest.json"
>
</head>
<body>
<!-- This script installs service_worker.js to provide PWA functionality to
application. For more information, see:
https://developers.google.com/web/fundamentals/primers/service-workers -->
<script>
if
(
'serviceWorker'
in
navigator
)
{
window
.
addEventListener
(
'load'
,
function
()
{
navigator
.
serviceWorker
.
register
(
'/flutter_service_worker.js'
);
});
}
</script>
<script
src=
"main.dart.js"
type=
"application/javascript"
></script>
</body>
</html>
...
...
Please
register
or
login
to post a comment