omim - change @omim/core to omim

This commit is contained in:
dntzhang 2019-06-19 10:03:47 +08:00
parent fb85f55690
commit a3c7bc3b7a
8 changed files with 17 additions and 17 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@omim/core",
"version": "0.8.5",
"name": "omim",
"version": "0.1.0",
"description": "Material Design for Omi.",
"main": "index.js",
"scripts": {

View File

@ -30,7 +30,7 @@
"webpack-merge": "^4.1.4"
},
"dependencies": {
"@omim/core": "latest",
"omim": "latest",
"omi": "latest",
"omi-router": "^2.0.10",
"omio": "latest"

View File

@ -1,6 +1,6 @@
import * as css from './_dashboard.css'
import { define, WeElement, h } from 'omi'
import '@omim/core/card'
import 'omim/card'
import * as bg from './bg.png'
define('my-about', class extends WeElement {

View File

@ -1,7 +1,7 @@
import logo from './logo.svg'
import * as css from './_app.css'
import { define, WeElement, h } from 'omi'
import '@omim/core/button'
import 'omim/button'
import 'omi-router'
import './dashboard'
import './about'

View File

@ -1,8 +1,8 @@
import * as css from './_dashboard.css'
import { define, WeElement, h } from 'omi'
import '@omim/core/row'
import '@omim/core/icon-button'
import '@omim/core/breadcrumb'
import 'omim/row'
import 'omim/icon-button'
import 'omim/breadcrumb'
import './top-card'
define('my-dashboard', class extends WeElement {

View File

@ -1,6 +1,6 @@
import * as css from './_drawer.css'
import { define, WeElement, h, extractClass } from 'omi'
import '@omim/core/nav'
import 'omim/nav'
const hash = location.hash || '#/dashboard'

View File

@ -1,10 +1,10 @@
import * as css from './_dashboard.css'
import { define, WeElement, h } from 'omi'
import '@omim/core/row'
import '@omim/core/icon-button'
import '@omim/core/breadcrumb'
import 'omim/row'
import 'omim/icon-button'
import 'omim/breadcrumb'
import './top-card'
import '@omim/core/editor'
import 'omim/editor'
define('my-editor', class extends WeElement {
static css = css

View File

@ -1,9 +1,9 @@
import * as css from './_top-bar.css'
import { define, WeElement, h } from 'omi'
import '@omim/core/icon'
import '@omim/core/icon-button'
import '@omim/core/badge'
import '@omim/core/avatar'
import 'omim/icon'
import 'omim/icon-button'
import 'omim/badge'
import 'omim/avatar'
define('top-bar', class extends WeElement {
static css = css