1. npm (My Preferred Method):
For most projects, I’d go with the npm route. It integrates best with modern build tools.
npm install asteroadmin
Then, import the necessary CSS and JavaScript into your project:
// Import CSS import 'asteroadmin/dist/css/style.css' // Import JavaScript (if needed) import 'asteroadmin/dist/js/main.js'
2. CDN:
Quick and easy for testing or simple projects. Just add these to your HTML:
<!-- CSS --> <link href="https://cdn.jsdelivr.net/npm/asteroadmin@latest/dist/css/style.min.css" rel="stylesheet"> <!-- JavaScript --> <script src="https://cdn.jsdelivr.net/npm/asteroadmin@latest/dist/js/main.min.js" type="module"></script>
You can also include specific files or versions, for example:
https://cdn.jsdelivr.net/npm/asteroadmin@1.0.2/dist/css/style.min.csshttps://cdn.jsdelivr.net/npm/asteroadmin@1.0.2/dist/js/main.min.jsKeep in mind that using @latest might introduce breaking changes unexpectedly. For production, I’d strongly recommend specifying a version.
3. Cloning the Repository:
Clone the repo from GitHub:
git clone https://github.com/asterodigital/bootstrap-admin-template.git cd bootstrap-admin-template npm install
Start the development server:
npm run dev
This sets up the full development environment, running at http://localhost:1234.
# Start development with hot reloading npm run dev # Build for production npm run build # Compile SCSS to CSS npm run css # Bundle JavaScript files npm run js # Process static assets npm run assets # Check code quality npm run lint # Fix linting issues npm run fixlint # Format HTML files npm run format:html # Clean build artifacts npm run clean # Watch for file changes npm run watch # Serve built files locally npm run serve
v1.0.9 (06/04/2025)
v1.0.7 (06/01/2025)
v1.0.6 (04/29/2025)
v1.0.5 (04/02/2025)
v1.0.4 (03/28/2025)
v1.0.3 (03/23/2025)
The post Modern, Responsive Bootstrap Dashboard Template – Astero Admin appeared first on CSS Script.
GAYLORD, MI (WOWO) The Michigan Department of Natural Resources has added two water-scooping aircraft to…
LANSING, MI (WOWO) Former criminal charges filed against a Michigan Economic Development Corporation board member…
Two new unpatched Windows BitLocker zero-day vulnerabilities significantly compromise Microsoft’s ecosystem. The exploits include a…
ELKHART COUNTY, IND. (WOWO) A gas leak prompted evacuations Wednesday morning in an Elkhart County…
There's a new Dungeon Crawler Carl book out this week, which means there's also a…
This website uses cookies.