Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

isv-boilerlate

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isv-boilerlate - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

content/.gitignore

2

content/custom.config.js

@@ -12,5 +12,5 @@ // webpack 自定义配置文件,请勿删除!

polyfill: false, // 打包是否包括 polyfill
dll: ['qnui', 'react-router'], // 是否启动DllPlugin
dll: ['aop-ui', 'react-router'], // 是否启动DllPlugin
proxy: {} // 配置代理
}
}
'use strict';
import React, { PropTypes, Component } from 'react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import './index.scss';

@@ -5,0 +6,0 @@ /* eslint-disable */

import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { hashHistory } from 'react-router';
import { Navigation, Icon } from 'qnui';
import { Nav, Icon } from 'aop-ui';
import Main from './components/Main';
import 'qnui/lib/navigation/index.scss';
import './index.scss'; // 重写了next组件的样式
const { Group, Item } = Navigation;
const { SubNav, Item } = Nav;
class CustomLayout extends Component {
static propTypes = {
children: React.PropTypes.element.isRequired,
location: React.PropTypes.object
children: PropTypes.element.isRequired,
location: PropTypes.object
}

@@ -37,40 +37,10 @@

<div>
<Navigation
style={{ maxWidth: '240px', float: 'left' }}
type="tree"
activeDirection="right"
>
<li className="qn-navigation-vertical">
<Icon type="email" />
<span>导航</span>
</li>
<Item
itemid="1"
text="Change Page"
icon="service"
>
<Navigation>
<Item
itemid="1-1"
text="Page1"
icon="service"
onSelect={() => this.goto('page1')}
></Item>
<Item
itemid="1-2"
text="Page2"
icon="service"
onSelect={() => this.goto('page2')}
></Item>
</Navigation>
</Item>
<Item
itemid="2"
text="Page1"
icon="training"
onSelect={() => this.goto('page1')}
>
</Item>
</Navigation>
<Nav style={{ width: '200px', float: 'left' }} hasArrow={true}>
<Item icon="account" onClick={() => this.goto('page1')}>api实例</Item>
<Item icon="account" onClick={() => this.goto('page2')}>表单示例</Item>
<SubNav icon="account" label="Sub Nav">
<Item icon="account" onClick={() => this.goto('page1')}>api实例</Item>
<Item icon="account" onClick={() => this.goto('page2')}>表单示例</Item>
</SubNav>
</Nav>
<Main padding={20} blockRowSpace={-50} blockColSpace={20} blockColPadding={10}>

@@ -77,0 +47,0 @@ {this.props.children}

@@ -5,3 +5,3 @@ {

"description": "{desc}",
"appKey":"{appKey}",
"appKey": "{appKey}",
"private": true,

@@ -21,7 +21,7 @@ "scripts": {

"lodash": "4.x",
"qnui": "^0.6.1",
"react": "^15.0",
"react-addons-transition-group": "15.x",
"react-dom": "^15.0",
"react-router": "2.x"
"aop-ui": "^1.0.3",
"react": "^16.0",
"react-dom": "^16.0",
"react-router": "3.x",
"moment": "^2.10.0"
},

@@ -35,5 +35,4 @@ "devDependencies": {

"husky": "0.x",
"react": "^15.x",
"react-addons-transition-group": "^15.x",
"react-dom": "^15.x",
"react": "^16.x",
"react-dom": "^16.x",
"semver": "^5.5.0"

@@ -40,0 +39,0 @@ },

import React from 'react';
import { Button } from 'qnui';
import 'qnui/lib/button/index.scss';
import PropTypes from 'prop-types';
import { Button } from 'aop-ui';
import './index.scss';

@@ -5,0 +5,0 @@

import React, { Component } from 'react';
import { Form, Input, Button, Checkbox, Field, Dialog } from 'qnui';
import { Form, Input, Button, Checkbox, Field, Dialog } from 'aop-ui';
import './index.scss';

@@ -4,0 +4,0 @@

{
"name": "isv-boilerlate",
"version": "0.0.8",
"version": "0.0.9",
"description": "ISV 应用模板",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc