Giter VIP home page Giter VIP logo

mark-carrot's Introduction

Install NodeJS

Install polymer-cli

$ npm install -g polymer-cli

Install firebase-tools

$ npm install -g firebase-tools

Install Dependencies from package.json $ npm install

Build Project from polymer.json $ polymer build

Serve Project $ polymer serve

Analyze Project $ polymer Analyze

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.

Web components are a set of web platform APIs that allow you to create new custom, reusable, encapsulated HTML tags to use in web pages and web apps. Custom components and widgets build on the Web Component standards, will work across modern browsers, and can be used with any JavaScript library or framework that works with HTML.

Web components are based on existing web standards. Features to support web components are currently being added to the HTML and DOM specs, letting web developers easily extend HTML with new elements with encapsulated styling and custom behavior.

Web components are based on four main specifications:

Custom Elements V1 Shadow DOM JAVASCRIPT imports HTML Template

The Polymer library provides a set of features for creating custom elements. These features are designed to make it easier and faster to make custom elements that work like standard DOM elements. Similar to standard DOM elements, Polymer elements can be:

Instantiated using a constructor or document.createElement.
Configured using attributes or properties.
Populated with internal DOM inside each instance.
Responsive to property and attribute changes.
Styled with internal defaults or externally.
Responsive to methods that manipulate its internal state.

Polymer Library Liscense About Blog Glossary Rendertron

Properties Observers

Polymer CLI is the official command line tool for Polymer projects and Web Components. It includes a build pipeline, a boilerplate generator for creating elements and apps, a linter, a development server, and a test runner.

"entrypoint" (Defaults to index.html): The main entrypoint to your app. "shell" (Optional): The app shell. "fragments" (Optional): A list of other entrypoints into your application. "root" (Defaults to current working directory): The web root of your application, can be a subfolder of your project directory. "sources" (Defaults to src/**/*): The source files in your application.

"builds":

[

  {
    "name":                 "esm-bundled",
    "browserCapabilities":  [ "es2015", "modules" ],
    "js":                   { "minify": true },
    "css":                  { "minify": true },
    "html":                 { "minify": true },
    "bundle":               { "inlineScripts": false },
    "addServiceWorker":     true
  },

  {
    "name":                 "es6-bundled",
    "browserCapabilities":  [ "es2015" ],
    "js":                   { "minify": true, "transformModulesToAmd": true },
    "css":                  { "minify": true },
    "html":                 { "minify": true },
    "bundle":               { "inlineScripts": false },
    "addServiceWorker":     true
  },
  
  {
    "name":                 "es5-bundled",
    "js":                   { "minify": true, "compile": true, "transformModulesToAmd": true },
    "css":                  { "minify": true },
    "html":                 { "minify": true },
    "bundle":               { "inlineScripts": false },
    "addServiceWorker":     true
  }
  
]

GitHub is how people build software. We’re supporting a community where more than 27 million* people learn, share, and work together to build software.

...create a new repository on the command line echo "# projectName" >> README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/user/project.git git push -u origin master

…or push an existing repository from the command line git remote add origin https://github.com/user/project.git git push -u origin master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.