Giter Site home page Giter Site logo

example-atomico-mui's Introduction

Atomico Atomico

Hi, I'm @uppercod, creator of Atomico and I want to thank you for starting with Atomico.

If you need help you can find it at:

twitter discord documentation discord

Now what you have installed is a quick start kit based on Vite, which you can scale for your project, now to continue you must execute the following commands:

  1. npm install
  2. npm start : Initialize the development server
  3. npm build : Optional, Generate a build of your project from the html file index.html.

Workspace

Notas example-atomico-mui

I have modified the environment by adding:

  1. package.json#postcss, thus allowing to import stylesheets from node_modules.

Recommended structure

site
src
  |- my-component
  |  |- my-component.{js,jsx,ts,tsx}
  |  |- my-component.test.js
  |  |- my-component.css
  |  |- README.md
  |- components.js # import all components

Add testing

The test environment is preconfigured for @web/test-runner, you must complete the installation of the following devDependencies, installed the devDependencies you can execute the command npm run test:

npm install -D @web/test-runner @esm-bundle/chai vite-web-test-runner-plugin

Test example

import { expect } from "@esm-bundle/chai";

describe("my test", () => {
  it("foo is bar", () => {
    expect("foo").to.equal("bar");
  });
});

@web/test-runner supports asynchrony, coverage, viewport and more.

NPM export

Atomico owns the @atomico/exports tool that simplifies the generation of builds, types and exports by distributing webcomponents in NPM, you must complete the installation of the following devDependencies, installed the devDependencies you can execute the command npm run exports:

npm install -D @atomico/exports

example-atomico-mui's People

Contributors

uppercod avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.