Skip to content

uk-taniyama/pug-for-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pug-for-browser

How to create pugjs.org in browser. Pug is not found in cdn.

Let's build by browserify!!

But......Some error occurred.

Uncaught TypeError: Cannot read property 'split' of undefined

This error at.

// required sequence : pug->pug-filters->./lib/run-filter->resolve->./lib/core
var current = process.versions.node.split('.');

Let's not use pug-filters! BUT I dont know what will happen......

Usage

Do as follows.

npm install
npm run patch
npm run build

Then you can get 'pug.js' and check the result by opening sample.html in the browser.

About

How to create pug.js for browser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published