san-cli-serve
Version:
San-CLI serve command
17 lines (16 loc) • 478 B
JavaScript
/**
* Copyright (c) Baidu Inc. All rights reserved.
*
* This source code is licensed under the MIT license.
* See LICENSE file in the project root for license information.
*
* 页面的 main.js
* @file Created on Thu Nov 15 2018
* @author ksky521
*/
import {defineComponent} from 'san';
import App from '~entry';
const Component = defineComponent(App);
// eslint-disable-next-line no-unused-vars
const app = new Component();
app.attach(document.getElementById('app'));