Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230053

Is there anything there like pug-ionic-loader, where pug-ng-html-loader really exists?

$
0
0

For ionic1 there is pug-ng-html-loader can be added into webpack to convert pug code to html with ionic tags.

But it is not working in ionic2 project with some tags.

ion-header
	ion-navbar(color='primary')
		button(ion-button='', menuToggle='')
			ion-icon(name='menu')
		ion-title
			| Todo Form
ion-content.home_content(padding='')
	form((ngsubmit)='logForm()')
		ion-item
			ion-input(type='text', [(ngmodel)]='todo.title', name='title', placeholder='Todo')
		ion-item
			ion-textarea.textareades([(ngmodel)]='todo.description', name='description', placeholder='Description')
		button(ion-button='', type='submit', block='') Add Todo

eg: menuToggle is not working where converted from pug like this

any suggestions or ideas


Viewing all articles
Browse latest Browse all 230053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>