https://github.com/atomicojs/base
V2
https://github.com/atomicojs/base
Last synced: 9 months ago
JSON representation
V2
- Host: GitHub
- URL: https://github.com/atomicojs/base
- Owner: atomicojs
- Created: 2019-12-06T15:33:49.000Z (over 6 years ago)
- Default Branch: 2-started
- Last Pushed: 2023-06-05T16:02:54.000Z (about 3 years ago)
- Last Synced: 2025-09-29T12:36:10.122Z (9 months ago)
- Language: TypeScript
- Homepage: https://atomicojs.github.io/base/
- Size: 2.85 MB
- Stars: 4
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Atomico Starter Skit
Hi, thanks for starting with Atomico js web components in this starter-kit you will find what you need to start with Atomico and if you have questions about Atomico I will gladly solve them through an [Issue](https://github.com/atomicojs/atomico/issues/new/choose), [Discord](https://discord.gg/7z3rNhmkNE) or [Twitter](https://twitter.com/atomicojs).
[](https://twitter.com/atomicojs)
[](https://discord.gg/7z3rNhmkNE)
[](https://atomico.gitbook.io/doc/)
Now what you have installed is a quick start kit based on Vite, 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](index.html).
## Workspace
### Recommended structure
```bash
src
|- my-component
| |- my-component.{js,jsx,ts,tsx}
| |- my-component.test.js
| |- README.md
|- components.js # import all components
```
> The `npm run create:component` command, will create a webcomponent with the recommended structure.
## Scripts
### npm run create:component
Create a new webcomponent inside src, according to the recommended structure.
### npm run start
initialize Vite server
### npm run build
package the app using de Vite
### npm run create:component
Create a base component