-
Notifications
You must be signed in to change notification settings - Fork 17
Installation
There are some ways to install and use FrontPress.
FrontPress releases files can be downloaded in many different ways.
File name | File content |
---|---|
frontpress.js | FrontPress for WordPress v2 api - not minified |
frontpress.min.js | FrontPress for WordPress v2 api - minified |
frontpress.v1.js | FrontPress for WordPress v1 api - not minified |
frontpress.v1.min.js | FrontPress for WordPress v1 api - minified |
npm install --save frontpress
It will install create a folder named frontpress/release
inside your node_modules
folder.
There you will find all FrontPress releases files.
bower install --save frontpress
It will install create a folder named frontpress/release
inside your bower_components
folder.
There you will find all FrontPress releases files.
You may want to install FrontPress without install anything. CDNJS.com hosts FrontPress release files. So all you need to do is to import some of these files for your project from theses urls:
- https://cdnjs.cloudflare.com/ajax/libs/frontpress/1.0.8/frontpress.js
- https://cdnjs.cloudflare.com/ajax/libs/frontpress/1.0.8/frontpress.min.js
- https://cdnjs.cloudflare.com/ajax/libs/frontpress/1.0.8/frontpress.v1.js
- https://cdnjs.cloudflare.com/ajax/libs/frontpress/1.0.8/frontpress.v1.min.js
Use unpkg.com files the same way as cdnjs. unpkg.com provides npm files on demand. All you need to do is to import some of these files for your project.
- https://unpkg.com/[email protected]/release/frontpress.js
- https://unpkg.com/[email protected]/release/frontpress.min.js
- https://unpkg.com/[email protected]/release/frontpress.v1.js
- https://unpkg.com/[email protected]/release/frontpress.v1.min.js
jsDelivr is another host for opensource front-end projects. FrontPress is hosted on jsDelivr. All you need to do is to import some of these files for your project.