# Polymer-SHOP **Repository Path**: zisuzz/Polymer-SHOP ## Basic Information - **Project Name**: Polymer-SHOP - **Description**: 旨在推广Polymer.js这个库,我相信它是未来的主流。一上手就有一种返璞归真的感觉,但目前组件还不是特别多,这跟社区有很大关系。希望能一同构建更好的生态环境。 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2017-12-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SHOP ### Setup ##### Prerequisites Install [polymer-cli](https://github.com/Polymer/polymer-cli): git clone https://gitee.com/zisuzz/Polymer-SHOP.git npm install -g polymer-cli ##### Setup bower install ### Start the development server polymer serve ### Run web-component-tester tests polymer test ### Build Build presets provide an easy way to define common build configurations in your `polymer.json` file. There are 2 build presets we put in `polymer.json` file in Shop: **es5-bundled** - js: {minify: true, compile: true} - css: {minify: true} - html: {minify: true} - bundle: true - addServiceWorker: true - addPushManifest: true - insertPrefetchLinks: true **es6-unbundled** - js: {minify: true, compile: false} - css: {minify: true} - html: {minify: true} - bundle: false - addServiceWorker: true - addPushManifest: true - insertPrefetchLinks: true Run the command to build the presets: polymer build ### Test the build This command serves the `es5-bundled` build version of the app: polymer serve build/es5-bundled This command serves the `es6-unbundled` build version of the app: polymer serve build/es6-unbundled