File tree Expand file tree Collapse file tree 2 files changed +2
-64
lines changed
Expand file tree Collapse file tree 2 files changed +2
-64
lines changed Original file line number Diff line number Diff line change @@ -211,68 +211,6 @@ Remove the following line in src/app/app.ts
2112118: config.options.pushState = true;
212212```
213213
214- Add those lines to the src/styles/_ base.scss
215- ```
216- html {
217- -ms-touch-action: manipulation;
218- touch-action: manipulation;
219- -webkit-user-select: none; /* Chrome all / Safari all */
220- -moz-user-select: none; /* Firefox all */
221- -ms-user-select: none; /* IE 10+ */
222- user-select: none; /* Likely future */
223- }
224- ```css
225-
226- Install the following Libraries
227- ```
228- npm i hammerjs fastclick iscroll --save
229- ```
230-
231- Install the following Libraries
232- ```
233- npm i hammerjs fastclick --save
234- ```
235-
236- Provide those Libraries for the whole app and to do so add this into the config/config-globals.js file.
237- ````
238- ...
239- new webpack.ProvidePlugin({
240- 'moment': 'moment',
241- '_': 'lodash',
242- 'Hammer': 'hammerjs',
243- 'FastClick': 'fastclick'
244- })
245- ...
246- ```
247-
248- Add this at the bottom of the src/main.ts file to activate FastClick and to prevent default by touchmoves.
249- ```
250- /**
251- * Disabels the scroll events from the generel page
252- */
253- document.addEventListener('touchmove', e => e.preventDefault(), false);
254-
255- /**
256- * Activates Fastclick
257- */
258- $(() => {
259- FastClick.attach(document.body);
260- });
261- ```
262-
263-
264214### Run and build
265215Cordova takes the ``` www ``` folder source to create the Cordova app. This ``` www ``` folder is a symlink to the ``` dist ``` folder.
266216So make sure you run for example ``` npm run build ``` first before runing/buildinga Cordova app.
267-
268- ###
269-
270-
271-
272- ### Configs
273-
274- bounce
275-
276- ### Plugins
277-
278-
Original file line number Diff line number Diff line change 11{
2- "name" : " aila-prototype-admin " ,
3- "title" : " AILA Proto-Admin " ,
2+ "name" : " aurelia-ts-boilerplate " ,
3+ "title" : " Aurelia TS Boilerplate " ,
44 "version" : " 0.2.3" ,
55 "description" : " A starter kit for building a standard navigation-style app with Aurelia, typescript and webpack." ,
66 "main" : " dist/app.js" ,
You can’t perform that action at this time.
0 commit comments