Skip to content
This repository has been archived by the owner on Sep 27, 2020. It is now read-only.
/ et-dependency Public archive

The dependency for et-template compiled codes.

Notifications You must be signed in to change notification settings

et-studio/et-dependency

Repository files navigation

et-dependency

The dependency for et-template compiled codes.

##Install

npm i et-dependency --save-dev

ES6/ES5

import * as dependency from 'et-dependency'

For amd

var dependency = require('et-dependency/dist/amd')

For cmd

var dependency = require('et-dependency/dist/cmd')

Angular1

<script src="node_modules/angular/angular.js">
<script src="node_modules/et-dependency/dist/ng.js"></script>
<script>
angular.module('yourAppName', ['et.template'])
</script>

Develop

The project depends on Phantomjs. If you are in China and there has the problem to install it. Write the following codes to this file ~/.npmrc.

phantomjs_cdnurl=http://cnpmjs.org/downloads

About

The dependency for et-template compiled codes.

Resources

Stars

Watchers

Forks

Packages

No packages published