diff --git a/sites/mip.yjubao.com/.editorconfig b/sites/mip.yjubao.com/.editorconfig
new file mode 100644
index 000000000..cb530eac4
--- /dev/null
+++ b/sites/mip.yjubao.com/.editorconfig
@@ -0,0 +1,14 @@
+UTF-8
+# This file is for unifying the coding style for different editors and IDEs
+# editorconfig.org
+root = true
+[*]
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+[*.{js,styl,html,json,vue}]
+indent_size = 2
+indent_style = space
+[*.md]
+trim_trailing_whitespace = false
diff --git a/sites/mip.yjubao.com/.eslintignore b/sites/mip.yjubao.com/.eslintignore
new file mode 100644
index 000000000..db4c6d9b6
--- /dev/null
+++ b/sites/mip.yjubao.com/.eslintignore
@@ -0,0 +1,2 @@
+dist
+node_modules
\ No newline at end of file
diff --git a/sites/mip.yjubao.com/.eslintrc b/sites/mip.yjubao.com/.eslintrc
new file mode 100644
index 000000000..84a3a2e9c
--- /dev/null
+++ b/sites/mip.yjubao.com/.eslintrc
@@ -0,0 +1,39 @@
+{
+ "parser": "vue-eslint-parser",
+ "parserOptions": {
+ "ecmaVersion": 8,
+ "sourceType": "module",
+ "allowImportExportEverywhere": false
+ },
+ "extends": [
+ "standard",
+ "plugin:vue/recommended"
+ ],
+ "plugins": [
+ "jsdoc"
+ ],
+ "globals": {
+ "MIP": true
+ },
+ "env": {
+ "browser": true
+ },
+ "rules": {
+ "jsdoc/check-param-names": 1,
+ "jsdoc/check-tag-names": 1,
+ "jsdoc/check-types": 1,
+ "jsdoc/newline-after-description": 1,
+ "jsdoc/no-undefined-types": 1,
+ "jsdoc/require-description-complete-sentence": 0,
+ "jsdoc/require-example": 0,
+ "jsdoc/require-hyphen-before-param-description": 0,
+ "jsdoc/require-param": 1,
+ "jsdoc/require-param-description": 1,
+ "jsdoc/require-param-name": 1,
+ "jsdoc/require-param-type": 1,
+ "jsdoc/require-returns-description": 1,
+ "jsdoc/require-returns-type": 1,
+ "jsdoc/valid-types": 1,
+ "no-var": 2
+ }
+}
diff --git a/sites/mip.yjubao.com/.gitignore b/sites/mip.yjubao.com/.gitignore
new file mode 100644
index 000000000..1207415d5
--- /dev/null
+++ b/sites/mip.yjubao.com/.gitignore
@@ -0,0 +1,8 @@
+node_modules/
+dist/
+.idea/
+*.log
+Thumbs.db
+.DS_Store
+*.swp
+*.gz
diff --git a/sites/mip.yjubao.com/common/.gitkeep b/sites/mip.yjubao.com/common/.gitkeep
new file mode 100644
index 000000000..e69de29bb
diff --git a/sites/mip.yjubao.com/components/mip-test/example/index.html b/sites/mip.yjubao.com/components/mip-test/example/index.html
new file mode 100644
index 000000000..c9956c9ef
--- /dev/null
+++ b/sites/mip.yjubao.com/components/mip-test/example/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+ MIP page
+
+
+
+
+
+
+
+
+ 1111
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sites/mip.yjubao.com/components/mip-test/index.less b/sites/mip.yjubao.com/components/mip-test/index.less
new file mode 100644
index 000000000..f5d040ae3
--- /dev/null
+++ b/sites/mip.yjubao.com/components/mip-test/index.less
@@ -0,0 +1,6 @@
+mip-test {
+ .wrapper {
+ margin: 0 auto;
+ text-align: center;
+ }
+ }
\ No newline at end of file
diff --git a/sites/mip.yjubao.com/components/mip-test/mip-test.js b/sites/mip.yjubao.com/components/mip-test/mip-test.js
new file mode 100644
index 000000000..e25543ea7
--- /dev/null
+++ b/sites/mip.yjubao.com/components/mip-test/mip-test.js
@@ -0,0 +1,17 @@
+import './index.less'
+export default class MIPTest extends MIP.CustomElement {
+ build () {
+ let name = this.element.getAttribute('name')
+ let content = document.createElement('p')
+ content.innerText = 'Hello ' + name
+ this.element.appendChild(content)
+ content.onclick=function(){
+ console.log(12222);
+ content.innerText = 11221;
+ }
+ // 在这里注册 say 事件的监听
+ this.addEventAction('say', (event, str) => {
+ this.element.innerText = str;
+ })
+ }
+}
diff --git a/sites/mip.yjubao.com/example/index.html b/sites/mip.yjubao.com/example/index.html
new file mode 100644
index 000000000..a0ad2dec7
--- /dev/null
+++ b/sites/mip.yjubao.com/example/index.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+ MIP page
+
+
+
+
+
+
+
First MIP page
+ Add MIP components here
+
+
+
+
+
+
diff --git a/sites/mip.yjubao.com/mip.config.js b/sites/mip.yjubao.com/mip.config.js
new file mode 100644
index 000000000..d5457bef4
--- /dev/null
+++ b/sites/mip.yjubao.com/mip.config.js
@@ -0,0 +1,31 @@
+/**
+ * @file mip页面项目配置项
+ * @author
+ */
+
+module.exports = {
+ dev: {
+ /**
+ * 启动mip server调试的端口号
+ *
+ * @type {number}
+ */
+ port: 8111,
+
+ /**
+ * 启用调试页面自动刷新
+ *
+ * @type {boolean}
+ */
+ livereload: true,
+
+ /**
+ * server 启动自动打开页面,false 为关闭
+ * 如:
+ * autoopen: '/example/index.html'
+ *
+ * @type {string|boolean}
+ */
+ autoopen: false
+ }
+}
diff --git a/sites/mip.yjubao.com/package.json b/sites/mip.yjubao.com/package.json
new file mode 100644
index 000000000..0d3c26546
--- /dev/null
+++ b/sites/mip.yjubao.com/package.json
@@ -0,0 +1,25 @@
+{
+ "name": "mip.yjubao.com",
+ "version": "0.0.1",
+ "description": "网站js需求",
+ "scripts": {
+ "dev": "mip2 dev",
+ "build": "mip2 build",
+ "lint": "npm run lint:js",
+ "lint:js": "eslint --ext .vue,.js .",
+ "fix": "npm run fix:js",
+ "fix:js": "eslint --ext .vue,.js . --fix"
+ },
+ "author": "lookupone (553843947@qq.com)",
+ "dependencies": {},
+ "devDependencies": {
+ "eslint": "^4.19.1",
+ "eslint-config-standard": "^11.0.0",
+ "eslint-plugin-import": "^2.12.0",
+ "eslint-plugin-jsdoc": "^3.7.1",
+ "eslint-plugin-node": "^6.0.1",
+ "eslint-plugin-promise": "^3.8.0",
+ "eslint-plugin-standard": "^3.1.0",
+ "eslint-plugin-vue": "^4.5.0"
+ }
+}
diff --git a/sites/mip.yjubao.com/static/.gitkeep b/sites/mip.yjubao.com/static/.gitkeep
new file mode 100644
index 000000000..e69de29bb